Subject: Re: bug#26051: 25.1; overlays may make emacs very slow

From: Andreas Politz <[email-masked]>
Date: Mon, 13 Mar 2017 12:29:37 +0100

[email-masked] writes:

> (benchmark
>  1
>  '(with-temp-buffer
>     (let ((n 65536))
>       (save-excursion (dotimes (i n) (insert (format "\u00E1%d\n" i))))
>       (dotimes (i n) (make-overlay (point) (point)) (forward-line)))))
> =>"Elapsed time: 129.815000s (0.277000s in 17 GCs)"

I feel like I should advertise my noverlay branch

    https://github.com/politza/emacs-noverlay

where this takes 0.15s on my laptop.

-ap