<p></p>
<p>Hi! I found a fix for a specific startup-speed regression affecting Geany master. It may or may not have anything to do with what people experienced in <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="738568743" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2649" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2649/hovercard" href="https://github.com/geany/geany/issues/2649">#2649</a>, but it can be reproduced as follows: give Geany a session of ~300 open C files to restore, and otherwise a default configuration, and simply start it. Geany master: ~12-24s. Geany 1.35: ~2-4s.</p>
<p>This is all moot if the Scintilla v5 upgrade (<a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="918050397" data-permission-text="Title is private" data-url="https://github.com/geany/geany/issues/2824" data-hovercard-type="issue" data-hovercard-url="/geany/geany/issues/2824/hovercard" href="https://github.com/geany/geany/issues/2824">#2824</a>) is imminent, as the cause is a mistake backporting some v5 code to the LongTerm3 branch.<br>
It started with <a class="commit-link" data-hovercard-type="commit" data-hovercard-url="https://github.com/geany/geany/commit/4bceddb449b8727e1d8b449a5d92af5fa53a2405/hovercard" href="https://github.com/geany/geany/commit/4bceddb449b8727e1d8b449a5d92af5fa53a2405"><tt>4bceddb</tt></a>, was caused by <a href="http://hg.code.sf.net/p/scintilla/code/rev/6c453822904a" rel="nofollow">http://hg.code.sf.net/p/scintilla/code/rev/6c453822904a</a>, and can be fixed with a 1-line change I posted to <a href="https://sourceforge.net/p/scintilla/bugs/2280/" rel="nofollow">https://sourceforge.net/p/scintilla/bugs/2280/</a>. Per Neil's comments there, further 3.x releases are unlikely, so Geany's options are to either adopt the fix directly or press on with the v5 upgrade.</p>
<p>Please let me know if a PR with the 3.x fix would be useful. (Will any releases happen before the v5 upgrade is done?)<br>
Best,<br>
Justin</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany/issues/2883">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAIOWJ75H3NCUJEJNTEWNFDT7ZDT7ANCNFSM5DGZM2EA">unsubscribe</a>.<br />Triage notifications on the go with GitHub Mobile for <a href="https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675">iOS</a> or <a href="https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub">Android</a>.
<img src="https://github.com/notifications/beacon/AAIOWJ2EUMCFCBSU6UH4A4TT7ZDT7A5CNFSM5DGZM2EKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4OV2YAXQ.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany/issues/2883",
"url": "https://github.com/geany/geany/issues/2883",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>