Revision 9a36cb3...

Go back to digest for 21st October 2012

Optimization in KDE Base

Vishesh Handa committed changes in [nepomuk-core] /storage:

Storage: Create a type cache

This class, caches the types for a particular resource. This is
especially useful cause we often request the type multiple times when
performing the domain/range checks.

We currently only store the types of the last 20 resources.

File Changes

Added 2 files
  • /storage
  •   services/typecache.cpp
  •   services/typecache.h
Modified 6 files
  • /storage
  •   services/CMakeLists.txt
  •   services/datamanagementmodel.cpp
  •   services/datamanagementmodel.h
  •   services/resourcemerger.cpp
  •   services/resourcemerger.h
  •   services/test/CMakeLists.txt
8 files changed in total