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