<table><tr><td style="">loh.tar added a comment.
</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/D17441">View Revision</a></tr></table><br /><div><div><p>I have tried this one. Yes, works much more better! <br />
Nice to see that my own (unloved) patch wake your interest to dig into that issue :-)</p>
<p>As usual understand I most of your talk here not really, and these perf protocols give me no light on the first sight. But thank you that you let me participate.</p>
<ul class="remarkup-list">
<li class="remarkup-list-item">Now, just find all of a char in that fat file is done very quickly</li>
<li class="remarkup-list-item">Doing these tab->semicolon S&R still takes quite a while but works here. System monitor told 1.8G memory was eaten</li>
</ul>
<p>I think with this patch need KateSearchBar still some improvement. Like to give a hint that S&R is running and the possibility to abort. Would be good to add some test if a S&R may run out of memory. Not everyone has a lot of RAM available.</p>
<p>Um, just a stupid question: Is there a need to do the S&R just as it is done currently? So far I understand that, is the only reason why that is so f**antastic slow caused by tons off calls which are intend to track a normal editing.</p>
<p>Why not simple do the S&R on the raw file, make a diff, highlight the changes and we are done(?) <br />
I did the tab->semicolon S&R by sed, just for interest, and it takes 2-3 seconds :-/</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/D17441">https://phabricator.kde.org/D17441</a></div></div><br /><div><strong>To: </strong>cullmann, dhaumann, Kate, loh.tar<br /><strong>Cc: </strong>kwrite-devel, kde-frameworks-devel, hase, michaelh, ngraham, bruns, demsking, cullmann, sars, dhaumann<br /></div>