Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Huge delay for completions when not sorting
- X-seq: zsh-workers 43129
- 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 14:12:30 -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=oj+QjtcDmK3HrOwDdQQCTEDX22FKwVSJ/MXjxOwwlPk=; b=Dynli+o31J21GO3D2oHbmL+KvMIfyKpjVpAyvt/PKM0MGwGHQ8jY2jO75a5vMKBqLt 4+vA4K1MLbv+3wvi6tsCYszme8QkW3+BE0sp9NSVd8lelCl4KjjNKWosc0CBHCdtbqd8 tseHyJqf1Sa3JtySW/K2T6KPDVb1y0bDZra6DX6dFk5cW4qRff7Y4kJSR7ZYuH1BDINu qmX5+U2sepMBorMtXpUVyg5/nFXfbmUa4MD4Dm4tjr8nI7IkhSev4JFTLGIIUiyMmZtZ jg40fwGqdOw2BrDXB3U0D+jPIghQO3jpaMntGKlviFwrkbhAG/Iz0NDFbkDwncq7L6L9 wZrA==
- In-reply-to: <651A4CB3-1D36-4668-9DC0-EFACDE13E26D@dana.is>
- 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> <651A4CB3-1D36-4668-9DC0-EFACDE13E26D@dana.is>
On Sun, Jul 1, 2018 at 1:38 PM, dana <dana@xxxxxxx> wrote:
>
> It's to do with the way it checks for duplicates in the unsorted results (-V
> without -1 or -2). For each completion possibility, it performs a series of
> checks against every subsequent possibility (compcore.c @ 3239)
Holy crap RE matcheq(Cmatch a, Cmatch b) ... there must be some way to
condense that into a single datum for each Cmatch and use a hash table
lookup from makearray().
Messages sorted by:
Reverse Date,
Date,
Thread,
Author