Revision cba5a98...
Go back to digest for 1st July 2012Optimization in KDE-PIM
David Faure committed changes in [kdepim-runtime/KDE/4.9] resources/maildir/libmaildir/maildir.cpp:
Speed up subFolder(), called by folderForCollection, i.e. very often.
It used to check that the whole maildir structure was valid everywhere,
every time it was called, which was pretty slow. We only care for one
subfolder in this code path.
Discussed with Kevin Krammer, approved by the unit tests :-)
File Changes
Modified 1 files
- resources/maildir/libmaildir/maildir.cpp
1 files changed in total