<table><tr><td style="">jtamate created this revision.<br />jtamate added reviewers: Kate, Frameworks.<br />Restricted Application added projects: Kate, Frameworks.<br />Restricted Application added subscribers: kde-frameworks-devel, kwrite-devel.<br />jtamate requested review of this revision.
</td><a style="text-decoration: none; padding: 4px 8px; margin: 0 8px 8px; float: right; color: #464C5C; font-weight: bold; border-radius: 3px; background-color: #F7F7F9; background-image: linear-gradient(to bottom,#fff,#f1f0f1); display: inline-block; border: 1px solid rgba(71,87,120,.2);" href="https://phabricator.kde.org/D12897">View Revision</a></tr></table><br /><div><strong>REVISION SUMMARY</strong><div><p>Most of the time was spent allocating space for the hashdata.<br />
The perf numbers speak by themself: <br />
from 42.3% (cycles inc.) <a href="https://phabricator.kde.org/F5849664" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F5849664: kwrite_reserver_perf_dwarf_before.png</a><br />
to 16.1% (cycles inc.) <a href="https://phabricator.kde.org/F5849665" style="background-color: #e7e7e7;
border-color: #e7e7e7;
border-radius: 3px;
padding: 0 4px;
font-weight: bold;
color: black;text-decoration: none;">F5849665: kwrite_reserver_perf_dwarf_after.png</a></p></div></div><br /><div><strong>TEST PLAN</strong><div><p>repeat {</p>
<div class="remarkup-code-block" style="margin: 12px 0;" data-code-lang="text" data-sigil="remarkup-code-block"><pre class="remarkup-code" style="font: 11px/15px "Menlo", "Consolas", "Monaco", monospace; padding: 12px; margin: 0; background: rgba(71, 87, 120, 0.08);">Paste, go to beginning of file</pre></div>
<p>} 5 times<br />
Undo 5 times</p></div></div><br /><div><strong>REPOSITORY</strong><div><div>R39 KTextEditor</div></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D12897">https://phabricator.kde.org/D12897</a></div></div><br /><div><strong>AFFECTED FILES</strong><div><div>src/buffer/katetextblock.cpp</div></div></div><br /><div><strong>To: </strong>jtamate, Kate, Frameworks<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, michaelh, kevinapavew, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>