GNU bug report logs - #59996
30.0.50; Overlays section of Elisp manual still states that overlays scale linearly

Previous Next

Package: emacs;

Reported by: Ihor Radchenko <yantar92 <at> posteo.net>

Date: Mon, 12 Dec 2022 09:54:02 UTC

Severity: normal

Found in version 30.0.50

Done: Eli Zaretskii <eliz <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


Message #10 received at 59996-done <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: 59996-done <at> debbugs.gnu.org
Subject: Re: bug#59996: 30.0.50;
 Overlays section of Elisp manual still states that overlays scale
 linearly
Date: Mon, 12 Dec 2022 15:39:31 +0200
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Date: Mon, 12 Dec 2022 09:53:51 +0000
> 
> I am still seeing the following clause in the 41.9 Overlays section of
> Elisp manual:
> 
>        The visual effect of an overlay is the same as of the corresponding
>     text property (*note Text Properties::).  However, due to a different
>     implementation, overlays generally don’t scale well (many operations
>     take a time that is proportional to the number of overlays in the
>     buffer).  If you need to affect the visual appearance of many portions
>     in the buffer, we recommend using text properties.
> 
> Should it be removed now, when overlays are equally performance with
> text properties?

Yes.  I removed it.

I guess that entire section should be audited for inaccuracies now;
reviews and patches are welcome.

Thanks.




This bug report was last modified 2 years and 153 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.