Revision 330ec10...

Go back to digest for 3rd July 2011

Optimization in KDE Base

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

Removed all redundant checks in the indexer.

Now that DMS does perform all the necessary checks and conversions
there is no need for that in the indexer anymore. This makes the code
simpler and easier to maintain.

There is only one thing I had to introduce (not implemented yet though):
the LazyCardinalities flag for the storeResources method which will
make it simply drop and value that would violate a cardinality

File Changes

Deleted 2 files
  • /services/strigi/indexer
  •   nepomuk/nepomukindexfeeder.cpp
  •   nepomuk/nepomukindexfeeder.h
Modified 8 files
  • /services
  •   nepomuk/storage/lib/datamanagement.h
  •   nepomuk/storage/lib/simpleresource.cpp
  •   nepomuk/storage/lib/simpleresource.h
  •   nepomuk/strigi/indexer/CMakeLists.txt
  •   nepomuk/strigi/indexer/indexer.cpp
  •   nepomuk/strigi/indexer/main.cpp
  •   nepomuk/strigi/indexer/nepomukindexwriter.cpp
  •   nepomuk/strigi/indexer/nepomukindexwriter.h
10 files changed in total