Subject: Re: bug#56682: Fix the long lines font locking related slowdowns

From: Stefan Monnier <[email-masked]>
Date: Sat, 13 Aug 2022 10:23:16 -0400

Gregory Heytings [2022-08-13 13:42:25] wrote:
> 1. "normal buffers"
> 2. non-large buffers with long lines
> 3. large buffers without long lines
> 4. large buffers with long lines
>
> It is probably better to group the three last cases in a single group, and
> to use the same optimization techniques for these three cases.

(with-half-joking-mode
  Hmm... so should be increase `syntax-wholeline-max` from 10kB to 10MB or
  should we decrease `large-file-warning-threshold` from 10MB down
  to 10kB?)

        Stefan