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

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

bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening large nu


From: Dmitry Gutov
Subject: bug#66117: 30.0.50; `find-buffer-visiting' is slow when opening large number of buffers
Date: Mon, 9 Oct 2023 03:48:47 +0300
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.13.0

On 08/10/2023 15:20, Ihor Radchenko wrote:
Dmitry Gutov <dmitry@gutov.dev> writes:

The full memory profile is attached.

That's odd. Do many/any of your files being visited match
inhibit-local-variables-suffixes or inhibit-local-variables-regexps?

I used the same reproducer. You can try it on your side if you want.

Tried it, didn't find anything obvious (that helped) either. Thanks.

This might help a little bit:

-               (not (string-match (car temp) name)))
+               (not (string-match-p (car temp) name)))

It is the first thing I tried. Nope.

And, as Eli pointed, memory profiler is not measuring consing... So, it
is useless for the purposes of reducing GC time.







reply via email to

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