D12659: two new UDS structures

Jaime Torres Amate noreply at phabricator.kde.org
Wed May 2 18:08:07 UTC 2018


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180502/985fdf50/attachment.html>


More information about the Kde-frameworks-devel mailing list