[Github-comments] [geany/geany] Fixable startup speed regression opening large numbers of files in 1.36+ (#2883)

Justin Blanchard notifications at xxxxx
Wed Sep 1 15:50:23 UTC 2021


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 #2649, 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.

This is all moot if the Scintilla v5 upgrade (#2824) is imminent, as the cause is a mistake backporting some v5 code to the LongTerm3 branch.
It started with https://github.com/geany/geany/commit/4bceddb449b8727e1d8b449a5d92af5fa53a2405, was caused by http://hg.code.sf.net/p/scintilla/code/rev/6c453822904a, and can be fixed with a 1-line change I posted to https://sourceforge.net/p/scintilla/bugs/2280/. 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.

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?)
Best,
Justin

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/geany/geany/issues/2883
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.geany.org/pipermail/github-comments/attachments/20210901/d791d9ed/attachment.htm>


More information about the Github-comments mailing list