Revision 1187367
Go back to digest for 24th October 2010Optimization in Office
Thorsten Zachmann committed changes in /trunk/koffice/plugins/pathshapes/enhancedpath/EnhancedPathFormula.cpp:
use stack.reserve(3) here so that the stack is not resized all the time
this reduces the number of a/de/re-llocations for documents with
a lot of enhanced path shapes quite a lot.
In the used test document the number of a/de/re-llocations are reduced by
25%-50% for the various objects.
File Changes
Modified 1 files
- /trunk/koffice/plugins/pathshapes/enhancedpath/EnhancedPathFormula.cpp
1 files changed in total