bug-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Andreas Politz
Subject: bug#26051: 25.1; overlays may make emacs very slow
Date: Mon, 13 Mar 2017 12:29:37 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.0.50 (gnu/linux)

address@hidden 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





reply via email to

[Prev in Thread] Current Thread [Next in Thread]