Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Huge delay for completions when not sorting



On Sun, Jul 1, 2018 at 10:56 AM, Martin Vaeth <martin@xxxxxxxx> wrote:
> I would have expected that the line
>
> zstyle ':completion:*' sort false
>
> speeds things up if there is a huge number of completions.
> However, quite the opposite is true.

This is probably a consequence of duplicate removal.  It's a lot
harder to search a single unsorted group for possible duplicates, even
if there aren't any to find.



Messages sorted by: Reverse Date, Date, Thread, Author