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


Message #385 received at 66117 <at> debbugs.gnu.org (full text, mbox):

From: Eli Zaretskii <eliz <at> gnu.org>
To: Ihor Radchenko <yantar92 <at> posteo.net>
Cc: dmitry <at> gutov.dev, 66117 <at> debbugs.gnu.org, monnier <at> iro.umontreal.ca
Subject: Re: bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening
 large number of buffers
Date: Sat, 23 Dec 2023 13:16:37 +0200
> From: Ihor Radchenko <yantar92 <at> posteo.net>
> Cc: Stefan Monnier <monnier <at> iro.umontreal.ca>, dmitry <at> gutov.dev,
>  66117 <at> debbugs.gnu.org
> Date: Sat, 23 Dec 2023 09:41:44 +0000
> 
> Eli Zaretskii <eliz <at> gnu.org> writes:
> 
> >> > My advice is to have a prototype working, then time it on local
> >> > filesystems.
> >> 
> >> See the attached patch.
> >
> > What do we want to do with this? any reasons not to install this on
> > master (and close this bug then)?
> 
> I thought that it is already installed...

The find-buffer part?  I don't see it, did I miss something?

> I do not think that we should close the bug even after installing the
> patch for `find-buffer-visiting'.
> 
> What I had in mind wrt improving `find-buffer-visiting' performance is:
> 
> 1. Improve the Elisp part (this patch)

Let's install it.

> 2. Improve case-fold-search binding, which will give another speedup
>    (another patch I submitted)

It should be installed, after you add the tests we've been discussing.

> 3. Optionally add tests

I hope the tests will not be optional...

> 4. Address the scenario Dmitry described in https://debbugs.gnu.org/cgi/bugreport.cgi?bug=66117#91

That could be a separate bug report.  This one is already too long,
and includes too many different issues.




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.