Revision 7305ed5...

Go back to digest for 8th April 2012

Optimization in KDE Base

Sebastian Trueg committed changes in [kdelibs/nepomuk/virtuosoInference] /query:

Better visibility filtering.

Instead of adding a type query pattern which drains performance we now
simply copy the visibility pattern into each UNION to make sure the
main variable is always accessible.

This results in more complexity once more but is worth it.

Tests still need to be updated.

File Changes

Modified 18 files
  • /query
  •   nepomuk/andterm.cpp
  •   nepomuk/andterm_p.h
  •   nepomuk/comparisonterm.cpp
  •   nepomuk/comparisonterm_p.h
  •   nepomuk/literalterm.cpp
  •   nepomuk/literalterm_p.h
  •   nepomuk/negationterm.cpp
  •   nepomuk/negationterm_p.h
  •   nepomuk/optionalterm.cpp
  •   nepomuk/optionalterm_p.h
  •   nepomuk/orterm.cpp
  •   nepomuk/orterm_p.h
  •   nepomuk.cpp
  •   nepomuk/resourceterm.cpp
  •   nepomuk/resourceterm_p.h
  •   nepomuk/resourcetypeterm.cpp
  •   nepomuk/resourcetypeterm_p.h
  •   nepomuk/term_p.h
18 files changed in total