D11487: optimization of TextLineData::attribute

Jaime Torres Amate noreply at phabricator.kde.org
Tue Mar 20 14:20:03 UTC 2018


jtamate added a comment.


  In D11487#229889 <https://phabricator.kde.org/D11487#229889>, @cullmann wrote:
  
  > Hmm, does it really get that much faster or is the stuff just moved to the subroutines?
  
  
  The sum of the subroutines time is lower than the routine time as shown in kcachegrind.
  
  > I would not have thought that something is faster than simple linear scan for a short vector.
  
  I'm sorry. The third patch is totally wrong, I changed the >= comparison sides in my mental model. :-(

REPOSITORY
  R39 KTextEditor

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

To: jtamate, #frameworks, #kate
Cc: mwolff, cullmann, michaelh, kevinapavew, ngraham, demsking, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180320/302fb89d/attachment.html>


More information about the Kde-frameworks-devel mailing list