Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Huge delay for completions when not sorting
- X-seq: zsh-workers 43127
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: Huge delay for completions when not sorting
- Date: Sun, 1 Jul 2018 13:38:53 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=6c+TCVdskMn4mhfVlW13BPzPXMXDu+JHwDyH5m1i4DA=; b=iG9lGcFZrovOoA5Ln0XLi6EbRr15PjAm9zjV1Tg73gl0Nmo4KCtHsYGDUV36pZLWi0 +5MX0clySRlRDrsppxk+ya6wXI47eUnTaURd3GJpRyuTomz3/EoyllvndttmFgHVZDEv VXG7Zmm4lzkofpdRk4+sDZaLUGzJtKYwIlR0zVFNHzZNYvNf2WH31IH0UQNm7FH6F9jX VOtIXTs6QfxwRfTYwLABrcjKbP5Vu1XIcFCQrEcCw//DA/gEy9TNzwq75OUsBAqs4+9F kMjz1GubsBSaCro7gEg0fr3rZYEI6JtdkhCDn822rD8c/t5ZfsLRHctTYj6WG+t2/5Ri q9Eg==
- In-reply-to: <slrnpji5if.45o.martin@clover.invalid>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <slrnpji5if.45o.martin@clover.invalid>
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