Revision 83de815...
Go back to digest for 9th November 2014Optimization in KDE-PIM
Gerrit Test Instance Operator committed changes in [trojita] /Imap/Model:
Do not consult all messages for flags when just a single one got deleted
This cuts the time spent in handleExpunge to about a 1/3 compared to
HEAD~1. The total savings compared to the state before we switched to
QVector amount to a speedup by a factor of eight (16e9 callgrind
instructions -> 2e9 instructions).
Change-Id: I6b45e15ab689accf458c421e29161e010aad4e91
File Changes
Modified 2 files
- /Imap/Model
- src/MailboxTree.cpp
- src/MailboxTree.h
2 files changed in total