GNU bug report logs -
#56682
Fix the long lines font locking related slowdowns
Previous Next
Full log
Message #1570 received at 56682 <at> debbugs.gnu.org (full text, mbox):
On 15.08.2022 23:29, Gregory Heytings wrote:
>> If you wanted the development to take this route, it would have really
>> made more sense to hold off on applying the narrowing to
>> fontification-functions, keeping font-lock slow-ish in large files.
>> That would have encouraged direct work on speeding it up.
>>
>
> That's your opinion. What I think would have most likely happened is
> what you yourself said: these are large files, it's unavoidable that
> font locking takes somes time (these are not your exact words, I hope
> they express what you said faithfully).
I said those words just as I was working on improving font-lock's
performance in JSON files. An effort which doesn't make sense if you
narrow around font-lock anyway.
Also note that until now it has been impossible to improve redisplay of
big files by working on font-lock (other bottlenecks were much more
significant).
>> But anyway. Suppose we have some more success with syntax-ppss. Two
>> options:
>>
>
> There are many other options besides the two options you listed.
Perhaps. I don't think anybody's mentioned them here, though.
This bug report was last modified 2 years and 7 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.