bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#25706: 26.0.50; Slow C file fontification


From: Mattias Engdegård
Subject: bug#25706: 26.0.50; Slow C file fontification
Date: Tue, 1 Dec 2020 14:34:58 +0100

1 dec. 2020 kl. 06.48 skrev Ravine Var <ravine.var@gmail.com>:

> Will this patch fix the problem with big header files like
> the one originally reported ?

Unfortunately it seems that my benchmarking approach was misleading; see my 
previous reply to Alan. Sorry about that.
The patch helps a bit but not nearly enough, so for big header files like the 
ones you mention in the asic_reg directory, it may not make much of a 
difference.

It is obviously worthwhile, but again as Alan noted, the incremental fontifying 
cost increases with distance from the start of the file (absent any actual code 
other than preprocessor definitions), leading to the observed superlinear 
behaviour. More robust heuristics needed.






reply via email to

[Prev in Thread] Current Thread [Next in Thread]