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

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

bug#41029: closed (Improve ido-switch-buffer performance when many buffe


From: GNU bug Tracking System
Subject: bug#41029: closed (Improve ido-switch-buffer performance when many buffers are open)
Date: Thu, 28 May 2020 23:37:01 +0000

Your message dated Fri, 29 May 2020 02:36:31 +0300
with message-id <457d5c0e-8eb2-d1c3-27d6-aae2c9fc5047@yandex.ru>
and subject line Re: bug#41029: Improve ido-switch-buffer performance when many 
buffers are open
has caused the debbugs.gnu.org bug report #41029,
regarding Improve ido-switch-buffer performance when many buffers are open
to be marked as done.

(If you believe you have received this mail in error, please contact
help-debbugs@gnu.org.)


-- 
41029: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=41029
GNU Bug Tracking System
Contact help-debbugs@gnu.org with problems
--- Begin Message --- Subject: Improve ido-switch-buffer performance when many buffers are open Date: Sat, 2 May 2020 08:40:55 -0700 User-agent: Mutt/1.10.1 (2018-07-13)
Many of the buffer locals (in particular I think it's the
SYMBOL_FORWARDED types --- my terminoly may be off), appear to be O(n)
to bind, where n is the number of live buffers.

I tried to see if I can optimize that binding process directly, but
couldn't figure out a way to do it without changing current behavior,
so I opted to just optimize ido-switch-buffer directly.

After this patch, the performance is quite bearable at ~6000 buffers,
but still not ideal.

Attachment: 0001-Avoid-binding-CASE-FOLD-SEARCH-in-tight-loop.patch
Description: Text Data


--- End Message ---
--- Begin Message --- Subject: Re: bug#41029: Improve ido-switch-buffer performance when many buffers are open Date: Fri, 29 May 2020 02:36:31 +0300 User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.8.0
Version: 28.1

On 03.05.2020 05:03, Dmitry Gutov wrote:
On 02.05.2020 21:26, Arnold Noronha wrote:
Actually, I realized this could be cleaner. Nicer patch attached.

Looks fine to me, thanks. Unless someone expresses any objections in a week or so, we should install it.

Now pushed to master. Thank you!


--- End Message ---

reply via email to

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