Revision 0b5253e...
Go back to digest for 4th December 2011Optimization in Office
Sebastian Sauer committed changes in [calligra/plugins-uservariables-sebsauer] /:
Introduce and use optimized version of KoXml::namedItemNS to lookup for KoXmlTextContentPrelude elements.
The saving isn't that huge. If I take out the optimization then the lookup takes ~3ms with the OO.org 1.1 specs and ~1ms with the patch.
This addresses a review-comment from https://git.reviewboard.kde.org/r/103276/
File Changes
Modified 3 files
- libs/kotext/KoVariableManager.cpp
- libs/odf/KoXmlReader.cpp
- libs/odf/KoXmlReader.h
3 files changed in total