D9770: Optimization of byteSize(double size)

Jaime Torres Amate noreply at phabricator.kde.org
Wed Jan 10 18:55:16 UTC 2018


jtamate updated this revision to Diff 25114.
jtamate added a comment.


  - De-duplication of code in byteSize(double size)
  
  In fact Milian Wolff is right.
  
  Why so many calls to this function?
  Copying 20Gb it is called 19.026 times (aproximately 10 times per second) from
  processedSize() in slavebase.cpp in kio

REPOSITORY
  R288 KJobWidgets

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D9770?vs=25034&id=25114

BRANCH
  performance (branched from master)

REVISION DETAIL
  https://phabricator.kde.org/D9770

AFFECTED FILES
  src/kjobtrackerformatters.cpp

To: jtamate, #frameworks, mwolff
Cc: mwolff, broulik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180110/6583a751/attachment.html>


More information about the Kde-frameworks-devel mailing list