D9318: [knewstuff] Limit request cache size
David Faure
noreply at phabricator.kde.org
Tue Dec 19 22:32:32 UTC 2017
dfaure added a comment.
Well, if this QSet can be huge, then these conversions from QList and to QList are going to take a lot of CPU.
Are you sure it wouldn't be much faster to do a linear search at append time, in exchange for saving all those temporary-containers conversions?
This code looks VERY slow to me, due to the large amount of temporary memory allocations, and linear container conversions.
IMHO the method that returns a List forces us to keep using a List as the data structure.
REPOSITORY
R304 KNewStuff
REVISION DETAIL
https://phabricator.kde.org/D9318
To: anthonyfieroni, leinir, #frameworks
Cc: dfaure, broulik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20171219/5bcc436b/attachment.html>
More information about the Kde-frameworks-devel
mailing list