[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: cc-mode fontification feels random
From: |
João Távora |
Subject: |
Re: cc-mode fontification feels random |
Date: |
Mon, 14 Jun 2021 09:40:36 +0100 |
> On Mon, Jun 14, 2021 at 9:29 AM martin rudalics <rudalics@gmx.at> wrote:
>
> > I benchmarked the effects of this
> > in large files according to specific instructions by Eli who was also
> > concerned about the performance hit and found no evidence of any kind of
> > punishment.
>
> Why on earth should file size have any impact on the performance of this
> option?
A question for Eli perhaps? The file was xdisp.c where jit-lock is supposedly
quite demanding.
> It introduces a constant overhead that affects every single
> character a user types.
And that overhead was found to be negligible. Even small enough
not be easily measured. In the meantime, if you are concerned with
this, you can produce a benchmark that evidences this overhead.
> > See C-h v jit-lock-antiblink-grace.
> It should be documented in at least one manual.
It could, but other customization options such as jit-lock-stealth-load and
jit-lock-contextually, jut-lock-stealth-nice, jit-lock-stealth-time,
and probably
others aren't. Not all defcustom's have manual entries (for the record, IMO
this is a good idea: the manual should have a different reading cadence).
But no problem if you want to make a patch that basically adds the contents
of the docstring to display.texi.
João
- Re: `open-paren-in-column-0-is-defun-start` (was: cc-mode fontification feels random), (continued)
- Re: cc-mode fontification feels random, João Távora, 2021/06/12
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/13
- Re: cc-mode fontification feels random, João Távora, 2021/06/13
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/13
- Re: cc-mode fontification feels random, João Távora, 2021/06/13
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/13
- Re: cc-mode fontification feels random, João Távora, 2021/06/13
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/14
- Re: cc-mode fontification feels random,
João Távora <=
- Re: cc-mode fontification feels random, martin rudalics, 2021/06/14
- Re: cc-mode fontification feels random, João Távora, 2021/06/14
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/14
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/14
- Re: cc-mode fontification feels random, Ergus, 2021/06/15
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/07
- Re: cc-mode fontification feels random, Stefan Monnier, 2021/06/08
- Re: cc-mode fontification feels random, Eli Zaretskii, 2021/06/08
Re: cc-mode fontification feels random, Dmitry Gutov, 2021/06/05