Revision 47e7733...

Go back to digest for 11th March 2012

Optimization in KDE Base

Sebastian Trueg committed changes in [nepomuk-core] services/backupsync/lib/resourceidentifier.cpp:

Yet another optimization/improvement.

Instead of using a filter for the types which in some cases does not
return the correct results (not sure why though) we now check the types
after querying candidates. This is fast and should work nicely in most
cases. There is a theoretical possibility that we might miss candidates
since we are using a limit of 100 on the main query. But this has a
rather small probability and the performance is worth it.

File Changes

Modified 1 files
  • services/backupsync/lib/resourceidentifier.cpp
1 files changed in total