jtamate updated this revision to Diff 33507. jtamate added a comment.
Another way to improve insertion speed in release could be: Transform "insert" to really insert only, with ASSERTS if it used as "replaceOrInsert" and add new methods "replaceOrInsert". The measurements in the first structure has been done commenting the asserts. before: 0.00039 msecs per iteration (total: 52, iterations: 131072) after: 0.00033 msecs per iteration (total: 88, iterations: 262144) REPOSITORY R241 KIO CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D12659?vs=33505&id=33507 REVISION DETAIL https://phabricator.kde.org/D12659 AFFECTED FILES autotests/udsentry_benchmark.cpp To: jtamate, dfaure, #frameworks Cc: bruns, michaelh