Revision 6eef008...
Go back to digest for 7th October 2012Optimization in KDE Base
Vishesh Handa committed changes in [nepomuk-core] /storage:
ClassAndPropertyTree: Optimize variantListToNodeSet
The extra url comparsions take approximately 50% of the time spent in
executing variantListToNodeSet. These comparisons are for special cases
and are done based on the property.
They can be done when the tree is being created, instead of each time
this highly important function is called.
* Caching the literal type - QVariant::Type
* Special handling for xsd:duration
* Special handling for rdfs:Literal
File Changes
Modified 2 files
- /storage
- services/classandpropertytree.cpp
- services/classandpropertytree.h
2 files changed in total