Revision 77cd11f...

Go back to digest for 6th October 2013

Optimization in KDE-PIM

Sergio Luis Martins committed changes in [kdepimlibs/KDE/4.11] /calendar:

Reuse the same Incidence pointers onDataChanged.

On dataChanged we get a new Item with a new payload, and we store
that item in mItemsById map. That payload will have a different
raw pointer than the one we already have internally, so
update the payload.

Reduces memory consumption.

File Changes

Modified 3 files
  • /calendar
  •   akonadi/etmcalendar.cpp
  •   akonadi/tests/etmcalendartest.cpp
  •   akonadi/tests/etmcalendartest.h
3 files changed in total