Revision 667485
Go back to digest for 27th May 2007Optimization in Office
              Pierre Ducroquet committed changes in /trunk/koffice/libs/kotext/styles/KoStyleManager.cpp:  
              
                
              
This is a small performance improvement.
The callgrind session made by Thomas Zander shows that these two functions are needing quite a lot of time.
Using a QHash<QString, KoParagraphStyle*> to store the name and the paragraphStyle in the style manager is a faster way to do that.
On my computer, the performance improvement when loading the ODF 1.2 draft 3 spec is about 12% (20 seconds).    
File Changes
Modified  1 files  
                
                - /trunk/koffice/libs/kotext/styles/KoStyleManager.cpp
 
1 files changed in total  
              
                      KDE Commit-Digest