Revision 5837e09...

Go back to digest for 4th November 2012

Features in Development Tools

Milian Wolff committed changes in [kdevplatform] /:

Refactor for performance: QuickOpenDataProvider::data should just return a single item.

The data function was completely overdesigned, it was only ever being called
to return a single item. Thus, we can get rid of lots of code duplication
and actually safe some time since we don't need the added indirection through
the QList.

File Changes

Modified 11 files
  •   language/interfaces/quickopendataprovider.h
  •   plugins/quickopen/customlistquickopen.cpp
  •   plugins/quickopen/customlistquickopen.h
  •   plugins/quickopen/duchainitemquickopen.cpp
  •   plugins/quickopen/duchainitemquickopen.h
  •   plugins/quickopen/projectfilequickopen.cpp
  •   plugins/quickopen/projectfilequickopen.h
  •   plugins/quickopen/quickopenmodel.cpp
  •   plugins/quickopen/tests/quickopenbench.cpp
  •   plugins/quickopen/tests/quickopentest.cpp
  •   plugins/quickopen/tests/quickopentestbase.cpp
11 files changed in total