Revision 6cbf538...
Go back to digest for 1st July 2012Optimization in KDE-PIM
David Faure committed changes in [kdepim/KDE/4.9] /:
Speed up asyncnepomukresourceretriever by removing linear search in vector
The QHash already had the information about pending requests.
The API had the issue that in theory a different set of properties could
be requested for an existing URL, though, but in practice this is not
happening. Moved the list of properties to the constructor, to make this
clearer (and faster, too).
Discussed with Volker.
File Changes
Modified 4 files
- kmail/messageactions.cpp
- messagecore/asyncnepomukresourceretriever.cpp
- messagecore/asyncnepomukresourceretriever.h
- messagelist/core/callbacknepomukresourceretriever.cpp
4 files changed in total