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

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

bug#41029: Improve ido-switch-buffer performance when many buffers are o


From: Arnold Noronha
Subject: bug#41029: 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


reply via email to

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