--- 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.
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 ---