|
From: | Stefan Monnier |
Subject: | Re: bug-reference-prog-mode slows down CC Mode's scrolling by ~7% |
Date: | Sat, 04 Sep 2021 11:00:53 -0400 |
User-agent: | Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
> , it takes 27.9s. So it would seem the cost of having a jit-lock > function returning a jit-lock-bounds structure when it's not the first > function is high. That's using the strategy of a full refontification of > the "extra" regions of the buffer returned in that structure. How does it compare to the performance with the old/current jit-lock code? > Maybe that strategy is not optimal. I think it leads to many calls to the client functions with small regions, which for font-lock at least is not optimal indeed. Maybe to speed things up, another option is to grow the chunk size a bit. Stefan
[Prev in Thread] | Current Thread | [Next in Thread] |