Creating all lexers takes between 200-300 microseconds on my ARM macBook and 1500-1800 microseconds on Raspberry Pi 4. So probably not something to worry about. You can view, comment on, or merge this pull request online at:
https://github.com/geany/geany/pull/3673
-- Commit Summary --
* Test lexer creation speed
-- File Changes --
M src/highlighting.c (74) M src/highlighting.h (1) M src/libmain.c (2)
-- Patch Links --
https://github.com/geany/geany/pull/3673.patch https://github.com/geany/geany/pull/3673.diff
Closing, for anyone interested can be accessed from https://github.com/geany/geany/pull/3668
Closed #3673.
github-comments@lists.geany.org