> > However, I do not see a freeze, only the symbol list needs a little to > > update but I can continue editing the file meanwhile. > > It's single-threaded so I think if you managed to hit the spot when parsing > happens, you could see the freeze (even though it seems to be much faster on > linux)
I think I tricked myself: I've set "autocompletion_update_freq" to 1000ms, so the delay in updating the symbol list was caused by this most probably. Though I reduced it now to 250ms but do not see a freeze yet. > > Interesingly, when I generate tags using ctags meson.build there is no such > > lag, it finishes in about 0.05 seconds. > > Interesting observation - the reason might be that we don't use the same > regex library as the current ctags version. I think we discussed this in > #3878 where it seemed it didn't make much sense to introduce the extra files > from the gnulib (https://github.com/universal-ctags/ctags/tree/master/gnulib) > that ctags uses. But if using a newer regex library helps here, it might be > an argument for using it. I'll try. And on Linux, we don't use the bundled "gnu_regex" library and so the processing might be faster. Do we use the "gnu_regex" library on macOS as well? I built Geany with the bundled regex library but I still don't see a difference. Is there anything special in how to reproduce it or what I could be doing wrong? -- Reply to this email directly or view it on GitHub: https://github.com/geany/geany/issues/4179#issuecomment-2568273542 You are receiving this because you are subscribed to this thread. Message ID: <geany/geany/issues/4179/2568273...@github.com>