Revision 417703d...

Go back to digest for 8th May 2011

Optimization in KDE-PIM

Volker Krause committed changes in [kdepimlibs] akonadi/statisticsproxymodel.cpp:

Reduce the number of columnCount() calls by half.

Since we are operating on a stack of a few proxy models, even columnCount
(which effectively is a constant) can be quite expensive when called a few
million times. Gives us a noticeable reduction in CPU usage of KMail or
Kontact during a mail check.

File Changes

Modified 1 files
  • akonadi/statisticsproxymodel.cpp
1 files changed in total