Revision 617959

Go back to digest for 31st December 2006

Optimization in KDE-PIM

Tom Albers committed changes in /trunk/playground/pim/mailody/src:

Optimisation: only parse the headers of the message when the headerlistviewitem wants to paint the cells. Also, optimized the cache for the flags of the messages, which is needed because the user can choose to hide the deleted message, so I need that info. All in all, it reduces the loading of 8000 message, back to 1200ms, which is roughly 3 times faster as it used to be.

File Changes

Modified 8 files
  • /trunk/playground/pim/mailody/src
  •   /db.cpp
  •   /global.cpp
  •   /global.h
  •   /headerlistview.cpp
  •   /headerlistview.h
  •   /mainwindow.cpp
  •   /messagedata.cpp
  •   /messagedata.h
8 files changed in total