Revision 85c0399...

Go back to digest for 9th December 2012

Optimization in Development Tools

Milian Wolff committed changes in [kdevplatform/sharedurls] /:

Optimize QuickOpen for project files using new Path.

FilterWithSeparator is now a PathFilter and uses the curiously
recurring template pattern instead of virtual inheritance to get the
Path for an element.

Especially the filtering is now much better as we do not have to
split the string item representation, since we can directly operate
on the existing path segments.

File Changes

Modified 8 files
  •   project/path.h
  •   tests/testproject.cpp
  •   tests/testproject.h
  •   language/interfaces/quickopenfilter.h
  •   plugins/quickopen/projectfilequickopen.cpp
  •   plugins/quickopen/projectfilequickopen.h
  •   plugins/quickopen/tests/quickopentest.cpp
  •   plugins/quickopen/tests/quickopentestbase.h
8 files changed in total