Revision 35fa2b5...

Go back to digest for 12th June 2011

Optimization in KDE-PIM

Volker Krause committed changes in [kdepim] /:

Remove some counter-productive premature optimizations.

Formatted size, date and max date are only used for visible items and
obtaining them is comparatively cheap. So, there is no point in wasting
memory by having a cache for them in every item.

File Changes

Modified 4 files
  •   messagelist/core/item.cpp
  •   messagelist/core/item.h
  •   messagelist/core/item_p.h
  •   messagelist/tests/itemsizetest.cpp
4 files changed in total