Subject: Re: 29.0.50; noverlay branch is O(N) for important calls

From: Eli Zaretskii <[email-masked]>
Date: Sat, 08 Oct 2022 09:20:51 +0300

> From: Matt Armstrong <[email-masked]>
> Cc: [email-masked], Andreas Politz <[email-masked]>, Gerd
>  Möllmann <[email-masked]>, Eli Zaretskii
>  <[email-masked]>
> Date: Fri, 07 Oct 2022 13:37:31 -0700
> 
> Does anybody know of an Emacs package that uses a large number of
> overlays that span large amounts of the buffer in complex ways?

What are those "complex ways" you are talking about?

In general, Isearch can potentially produce thousands of overlays,
especially if you do that in a buffer where lines are truncated.  But
I don't know if that's what you are looking for.

linum.el is another potential example: it produces an overlay for each
line.