GNU bug report logs - #62364
28.2; savehist file becomes quadratic when used with kill-ring and evil-yank-rectangle

Previous Next

Package: emacs;

Reported by: Aaron Zeng <azeng <at> janestreet.com>

Date: Wed, 22 Mar 2023 02:06:01 UTC

Severity: normal

Found in version 28.2

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

Bug is archived. No further changes may be made.

Full log


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

From: Eli Zaretskii <eliz <at> gnu.org>
To: Stefan Monnier <monnier <at> iro.umontreal.ca>
Cc: larsi <at> gnus.org, app-emacs-dev <at> janestreet.com, azeng <at> janestreet.com,
 62364-done <at> debbugs.gnu.org
Subject: Re: bug#62364: 28.2; savehist file becomes quadratic when used with
 kill-ring and evil-yank-rectangle
Date: Sat, 25 Mar 2023 15:14:56 +0300
> From: Stefan Monnier <monnier <at> iro.umontreal.ca>
> Cc: Aaron Zeng <azeng <at> janestreet.com>,  Lars Ingebrigtsen <larsi <at> gnus.org>,
>   62364 <at> debbugs.gnu.org,  app-emacs-dev <at> janestreet.com
> Date: Thu, 23 Mar 2023 09:04:43 -0400
> 
> >> A suggested patch is below.  For comparison, with the patch,
> >> savehist-save takes less than a second and results in a 160kB savehist
> >> file.
> > Lars, Stefan, any comments?  Are there any downsides to binding
> > print-circle to a non-nil value here?
> 
> The patch looks good to me, I can't see any downside.

Thanks, installed on the emacs-29 branch, and closing the bug.




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

Previous Next


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