Revision 4667492...

Go back to digest for 21st July 2013

Optimization in KDE Base

Martin Gräßlin committed changes in [kde-workspace/KDE/4.11] /:

Use QVector instead of QList for the list of active effects

We only append to the list, so the advantage of insertion into QList
does not matter.

Thanks to Milian Wolff to point this out in his Akademy talk [1] and for
pointing me to Marc Mutz blog post [2] discussing this topic and
recommending the usage of QVector over QList.

[1] http://milianw.de/files/apps-on-speed-akademy2013/index.html
[2] http://marcmutz.wordpress.com/effective-qt/containers/

REVIEW: 111597

File Changes

Modified 2 files
  •   kwin/effects.cpp
  •   kwin/effects.h
2 files changed in total