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 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