D10256: Don't cache the targetUrlList() result locally, return them from the locally cached m_items. Minor performance improvement as targetUrlList() is now only called (and the list created) when it's requested.
David Faure
noreply at phabricator.kde.org
Sat Feb 3 00:20:50 UTC 2018
dfaure accepted this revision.
dfaure added a comment.
This revision is now accepted and ready to land.
If urlList() is called often, then this is actually slower (targetUrlList() has to iterate and convert). But yeah I doubt it is called often...
REPOSITORY
R241 KIO
BRANCH
KFileItemListProperties_optimizations (branched from master)
REVISION DETAIL
https://phabricator.kde.org/D10256
To: markg, dfaure
Cc: #frameworks, michaelh, ngraham
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180203/4b278b10/attachment.html>
More information about the Kde-frameworks-devel
mailing list