Revision 9cf42ae...
Go back to digest for 29th May 2011Optimization in KDE Base
Sebastian Trueg committed changes in [kdelibs] /:
Optimization of several ResourceTypeTerms in one OrTerm via a FILTER.
Queries are sped up a lot when using
?r a ?t . FILTER(?t in (<type1>,<type2>,...) .
as compared to
{ ?r a <type1> . } UNION { ?r a <type2> . } UNION ...
File Changes
Modified 6 files
- nepomuk/query/query.cpp
- nepomuk/query/query_p.h
- nepomuk/query/resourcetypeterm.cpp
- nepomuk/query/resourcetypeterm_p.h
- nepomuk/query/term.h
- nepomuk/test/querytest.cpp
6 files changed in total