[Libreoffice] [REVIEW] 4 minutes 27 seconds -> 11 seconds
thb at documentfoundation.org
Tue Aug 16 07:14:48 PDT 2011
Caolan McNamara wrote:
> I'm *sure* its good, but the scale of speed-up from 4 minutes 27 seconds
> to 11 seconds is massively more than I expected. Especially as the
> insert point is at the end, rather than at the beginning or middle which
> would have required a lot of memmove type operations.
Played with it today, surely ::append is on a critical path, but
beats me why exactly this is so much faster. Surely it saves some
temporary B2DPolygon instances...
...random theory of the day: does vector::reserve() always ensure
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: not available
More information about the LibreOffice