From: Mike Nordell (firstname.lastname@example.org)
Date: Thu Dec 21 2000 - 23:38:42 CST
Added a comment about ownership.
Fix for code that uses UT_Vector as a sparse array. :-(
Re. the current unicode windows problems in win98, I decided to have a quick
look at it.
In GR_CharWidths::setWidth we apparently use m_vecHiByte as a sparse array
(what a waste), but since the vector code no longer zeroes all its entries
this code now SEGV in GR_CharWidths::getWidth. :-(
The Q&D fix I now applied is to let the UT_Vector yet again zero out its
entries. This will slow it down somewhat again (though I'm not sure it will
be even noticable). The long-term solution would be to use a real sparse
array or something resembling std::map.
This archive was generated by hypermail 2b25 : Thu Dec 21 2000 - 23:36:40 CST