GNU bug report logs - #66117
30.0.50; `find-buffer-visiting' is slow when opening large number of buffers

Previous Next

Package: emacs;

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

Date: Wed, 20 Sep 2023 08:53:02 UTC

Severity: minor

Found in version 30.0.50

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: dmitry <at> gutov.dev, 66117 <at> debbugs.gnu.org, mattias.engdegard <at> gmail.com, monnier <at> iro.umontreal.ca
Subject: bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers
Date: Sun, 17 Dec 2023 08:04:34 +0200
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: Eli Zaretskii <eliz <at> gnu.org>, dmitry <at> gutov.dev, 66117 <at> debbugs.gnu.org,
>  mattias.engdegard <at> gmail.com
> Date: Fri, 15 Dec 2023 11:01:53 +0000
> 
> Stefan Monnier <monnier <at> iro.umontreal.ca> writes:
> 
> >> Do I understand correctly that what is needed to implement your
> >> suggestion is
> >>
> >> 1. Remove case_fold_search_ slot from buffer objects
> >> 2. Use DEFVAR_LISP for case-fold-search
> >> 3. Declare case-fold-search buffer-local
> >> 4. Replace BVAR(...) references in C with Vcase_fold_search
> >
> > Yes (assuming that 3 refers to the use of `make-variable-buffer-local`).
> 
> See the attached patch.

Thanks, but I wonder what, if anything, we should say about this
change in NEWS?  Also, do any of the manuals require any changes wrt
this?




This bug report was last modified 1 year and 135 days ago.

Previous Next


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