D11487: optimization of TextLineData::attribute

Christoph Cullmann noreply at phabricator.kde.org
Wed Mar 21 06:14:58 UTC 2018


cullmann added a comment.


  I still am not that convinced that binary search helps for vectors which normally have only << 10-20 elements for normal long text lines.
  But I would be ok with some range based for variant, as the loop with index increment is even ugly without any speed in mind ;=)

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/20180321/88082c76/attachment.html>


More information about the Kde-frameworks-devel mailing list