D10857: Change qSort to std::sort in simplifiedUrlList
David Faure
noreply at phabricator.kde.org
Fri Mar 2 09:04:02 UTC 2018
dfaure added a comment.
I cannot confirm that stable_sort is faster, on the contrary. http://www.davidfaure.fr/2018/qsort_performance.cpp updated, says (repeatedly)
"std::sort took: 5003 ms"
"std::stable_sort took: 7490 ms"
Maybe on specific data (the actual filenames you're testing this with), stable_sort ends up being faster, but this isn't true in general (with random data).
REPOSITORY
R241 KIO
REVISION DETAIL
https://phabricator.kde.org/D10857
To: jtamate, #frameworks, dfaure, markg
Cc: markg, apol, michaelh
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180302/893d58df/attachment.html>
More information about the Kde-frameworks-devel
mailing list