[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: New optimisations for long raw strings in C++ Mode.
From: |
Eli Zaretskii |
Subject: |
Re: New optimisations for long raw strings in C++ Mode. |
Date: |
Thu, 11 Aug 2022 19:04:07 +0300 |
> From: Yuri Khan <yuri.v.khan@gmail.com>
> Date: Thu, 11 Aug 2022 22:47:34 +0700
> Cc: Eli Zaretskii <eliz@gnu.org>, gregory@heytings.org, larsi@gnus.org,
> emacs-devel@gnu.org
>
> On Thu, 11 Aug 2022 at 00:36, Alan Mackenzie <acm@muc.de> wrote:
>
> > If you open a file in its middle (e.g., by desktop), and there's an open
> > block comment there, you've got to look arbitrarily far back to detect
> > that state. In practice parse-partial-sexp from point-min will be used,
> > likely with cacheing of whatever sort.
>
> Does fontification need to be synchronous? I.e. you open a file in its
> middle, do you expect it fontified exactly and immediately on first
> render?
>
> Some well-known IDEs[^*] make do with first rendering an inexact
> approximation of syntax highlighting. Then, as the user starts working
> with the buffer, they may have a few thousand idle milliseconds in
> which to improve the approximation.
That's what jit-lock-defer-time is about, I believe (although our
"inexact approximation" is no fontifications at all).
- Re: New optimisations for long raw strings in C++ Mode., (continued)
- Re: New optimisations for long raw strings in C++ Mode., Immanuel Litzroth, 2022/08/11
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/11
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/11
- Re: New optimisations for long raw strings in C++ Mode., Lynn Winebarger, 2022/08/12
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/12
- Re: New optimisations for long raw strings in C++ Mode., Yuri Khan, 2022/08/11
- Re: New optimisations for long raw strings in C++ Mode.,
Eli Zaretskii <=
- Re: New optimisations for long raw strings in C++ Mode., Gregory Heytings, 2022/08/10
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/10
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/10
- Re: New optimisations for long raw strings in C++ Mode., Alan Mackenzie, 2022/08/14
- Re: New optimisations for long raw strings in C++ Mode., Gregory Heytings, 2022/08/15
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/10
- Re: New optimisations for long raw strings in C++ Mode., Lars Ingebrigtsen, 2022/08/12
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/12
- Re: New optimisations for long raw strings in C++ Mode., Eli Zaretskii, 2022/08/07