emacs-devel
[Top][All Lists]
Advanced

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

Re: bug-reference-prog-mode slows down CC Mode's scrolling by ~7%


From: Stefan Monnier
Subject: Re: bug-reference-prog-mode slows down CC Mode's scrolling by ~7%
Date: Fri, 03 Sep 2021 08:19:48 -0400
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

> Bother: this is not future-proof, and certainly isn't scalable.  If we
> are changing the protocol, can we instead come up with a more scalable
> change, so that functions won't "fight" in the future who gets to be
> "the first"?

The change I proposed (I haven't had time to look at Alan's patch yet,
but IIUC it does what I proposed) does not change the protocol at all.
It just makes jit-lock use the information available in a slightly more
efficient way.

And while the number of packages using jit-lock tends to grow over time,
it's a *very* slow growth, so I think scaling is not
a significant concern.


        Stefan




reply via email to

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