D17441: tune editing actions for large number of small edits

Christoph Cullmann noreply at phabricator.kde.org
Sat Dec 8 22:42:07 GMT 2018


cullmann updated this revision to Diff 47151.
cullmann added a comment.


  avoid a lot of allocations for the sets
  
  we can just use a vector and remember if we need to update a range, in worst case, twice inserted

REPOSITORY
  R39 KTextEditor

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D17441?vs=47150&id=47151

BRANCH
  master

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

AFFECTED FILES
  src/buffer/katetextblock.cpp
  src/buffer/katetextblock.h
  src/buffer/katetextcursor.cpp
  src/buffer/katetextrange.h
  src/document/katedocument.cpp
  src/search/katesearchbar.cpp
  src/vimode/marks.cpp
  src/vimode/marks.h

To: cullmann, dhaumann, #kate, loh.tar
Cc: kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.kde.org/pipermail/kde-frameworks-devel/attachments/20181208/feb944c7/attachment.html>


More information about the Kde-frameworks-devel mailing list