<table><tr><td style="">sars 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/D14408">View Revision</a></tr></table><br /><div><div><p>We can have the slotRefreshSymbol() merging in a different patch.</p>
<p>Starts to be ready for committing!</p>
<p>I was going to say that the parseSymbols() function is very cheap compared to for example the mini-map updating, but hotspot did not agree ;) The mini-map is a bit more expensive and is updated 500 ms after the last edit.</p>
<p>I wonder where the second parseSymbols() call comes from on startup, but when you just switch document you only get one parseSymbols() and one updateCurrTreeItem() which is good :)</p>
<p>That said I don't think the user will notice an improvement in "performance" or battery time by making the timeout 1000ms in stead of 500. The user would notice tho that the update comes later and think/feel like it is slower and think Kate is just badly optimized ;)</p>
<p>Remove the debug printouts and some of the unneeded comments and we are ready with this one :)</p></div></div><br /><div><strong>REVISION DETAIL</strong><div><a href="https://phabricator.kde.org/D14408">https://phabricator.kde.org/D14408</a></div></div><br /><div><strong>To: </strong>loh.tar, Kate, sars<br /><strong>Cc: </strong>cullmann, brauch, ngraham, sars, kwrite-devel, Kate, michaelh, kevinapavew, demsking, dhaumann<br /></div>