D11487: optimization of TextLineData::attribute
Christoph Cullmann
noreply at phabricator.kde.org
Wed Mar 21 12:16:37 UTC 2018
cullmann added a comment.
Ok, that is true, for the "degenerated" very long line case it makes sense to do the binary search.
But I don't think you should do that on your own, lower_bound is good enough, we use that for other things like the folding, too, if I am not mistaken.
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/0a439843/attachment.html>
More information about the Kde-frameworks-devel
mailing list