You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Extremely slow font-locking on lines with lots of dot operators #196
GNU Emacs 28.0.50 (build 1, x86_64-pc-linux-gnu, GTK+ Version 3.24.20, cairo version 1.16.0) of 2021-04-10
(could be linux vs windows, but needs further investigation)
I just tried a 1M file full of the lines above, and both reopening the file and running (jit-lock-refontify) were fast.
Your change works, but at the cost of no longer being able to (foo).(bar) parts of the lua-funcname as separate parts and capture foo. bar as a lua-funcname. None of it is a big deal, but I'd like to ensure this is the only way to fix this.
Would you be able to provide a full repro?
And for shortening the verification loop, could you confirm that (jit-lock-refontify) is slow for you on the affected buffers?
Activity
immerrr commentedon Sep 9, 2021
Hi,
I'm having trouble reproducing it on
(could be linux vs windows, but needs further investigation)
I just tried a 1M file full of the lines above, and both reopening the file and running
(jit-lock-refontify)were fast.Your change works, but at the cost of no longer being able to
(foo).(bar)parts of the lua-funcname as separate parts and capturefoo. baras alua-funcname. None of it is a big deal, but I'd like to ensure this is the only way to fix this.Would you be able to provide a full repro?
And for shortening the verification loop, could you confirm that
(jit-lock-refontify)is slow for you on the affected buffers?Thanks!