Revision 1b5450b...

Go back to digest for 21st August 2011

Optimization in KDE-PIM

Volker Krause committed changes in [kdepimlibs] /:

Add a less aggressive cache invalidation method to ResourceBase.

clearCache() just deletes everything, which is way too much, we lose
ids and unchanged already cached content this way. invalidateCache() only
drops cached payloads, no longer existing items/collections are removed
by Item/CollectionSync already anyway.

File Changes

Modified 4 files
  •   akonadi/resourcebase.cpp
  •   akonadi/resourcebase.h
  •   akonadi/resourcescheduler.cpp
  •   akonadi/resourcescheduler_p.h
4 files changed in total