D9211: Iterate over initializer_lists to avoid mem allocs

Dominik Haumann noreply at phabricator.kde.org
Sun Feb 25 11:40:24 UTC 2018


dhaumann marked 8 inline comments as done.
dhaumann added a comment.


  Mark comments as done.

INLINE COMMENTS

> mwolff wrote in katedocument.cpp:109
> you want to return `std::distance(list.begin(), it)` here

Good catch!

REPOSITORY
  R39 KTextEditor

BRANCH
  AvoidAllocs (branched from master)

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

To: dhaumann, mwolff, apol
Cc: ngraham, #frameworks, michaelh, kevinapavew, kmorwinski, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20180225/c470e678/attachment-0001.html>


More information about the Kde-frameworks-devel mailing list