Revision a289651...

Go back to digest for 22nd May 2011

Optimization in KDE Base

Sebastian Trueg committed changes in [kde-runtime] /services/storage:

Handle identifying properties in the ClassAndPropertyTree.

This cache of properties has several advantages:
- it is faster because we do not need to query each time
- it is more correct since it takes super-properties into account
- it is cleaner because we now have class and property handling in one
class (and isntance) shared between the components of the service.

File Changes

Modified 3 files
  • /services/storage
  •   nepomuk/classandpropertytree.cpp
  •   nepomuk/classandpropertytree.h
  •   nepomuk/resourceidentifier.cpp
3 files changed in total