Subject: bug#57207: 29.0.50; Fontification is slow after e7b5912b23 (Improvements to long lines handling)

From: Eli Zaretskii <[email-masked]>
Date: Wed, 17 Aug 2022 16:27:05 +0300

> From: Lars Ingebrigtsen <[email-masked]>
> Cc: [email-masked],  [email-masked]
> Date: Wed, 17 Aug 2022 14:36:34 +0200
> 
> Is (setq long-line-threshold nil) supposed to disable these
> optimisations totally

Yes.  At least that was the intent.  If long-line-threshold is nil,
everything should work as it did before.

The only unrelated change is the syntax-wholelines-max variable and
what depends on it.  AFAIK.