Hi Bartosz,

On Tuesday, 2010-06-15 09:06:19 +0200, Bartosz wrote:

> After replace svArrays by STL containers, in some cases I observed boost of 
> performance.
> 
> For example:
>      for (USHORT i = 0;  i < aEntries.size();  ++i)

Please ensure to adapt also all types where necessary, in this case the
result may even be an endless loop if aEntries happens to contain more
than 64k entries.. instead of   USHORT i   it should be   size_t i

  Eike

-- 
 OOo/SO Calc core developer. Number formatter stricken i18n transpositionizer.
 SunSign   0x87F8D412 : 2F58 5236 DB02 F335 8304  7D6C 65C9 F9B5 87F8 D412
 OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS
 Please don't send personal mail to the [email protected] account, which I use for
 mailing lists only and don't read from outside Sun. Use [email protected] Thanks.

Attachment: pgp2t83YiRifM.pgp
Description: PGP signature

Reply via email to