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: Eli Zaretskii
Subject: bug#26051: 25.1; overlays may make emacs very slow
Date: Mon, 13 Mar 2017 17:54:51 +0200

> From: Andreas Politz <politza@hochschule-trier.de>
> Cc: Eli Zaretskii <eliz@gnu.org>,  26051@debbugs.gnu.org
> Date: Mon, 13 Mar 2017 12:29:37 +0100
> 
> > (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.

That's wonderful news, thanks!





reply via email to

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