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

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

bug#12796: Optimize `ido-completing-read' for larger lists with flex mat


From: Dmitry Gutov
Subject: bug#12796: Optimize `ido-completing-read' for larger lists with flex matching enabled
Date: Sun, 04 Nov 2012 21:05:10 +0400
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:16.0) Gecko/20121026 Thunderbird/16.0.2

On 04.11.2012 17:53, Stefan Monnier wrote:
If I decide to type quickly but make a typo in one of the first characters,
I often need to wait a few seconds until I can fix the typo or start anew.

`while-no-input' (which AFAICT is used by ido) is supposed to interrupt
the computation as soon as you type the next input so you don't need
to wait.

Are you saying that while-no-input doesn't work?

I only see `while-no-input' used in one place there: in `ido-make-merged-file-list', and that function is only used in `find-file' mode.

So yeah, using it around matching loops in `ido-set-matches-1' might be another way to optimize, provided the overhead is not too much.





reply via email to

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