cullmann updated this revision to Diff 59550. cullmann added a comment.
Remove a MASS of heap allocations. We allocated the range on the heap and then inside we really even allocated all 16 byte KTextEditor::Range objects again on the heap. REPOSITORY R39 KTextEditor CHANGES SINCE LAST UPDATE https://phabricator.kde.org/D17241?vs=59548&id=59550 REVISION DETAIL https://phabricator.kde.org/D17241 AFFECTED FILES src/completion/katecompletiondelegate.cpp src/render/katerenderer.cpp src/render/katerenderer.h src/render/katerenderrange.cpp src/render/katerenderrange.h To: cullmann, vkrause, dhaumann, mwolff, sars Cc: zetazeta, mwolff, brauch, kwrite-devel, kde-frameworks-devel, LeGast00n, domson, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann