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

Re: [PATCH] compdump: improve performance



On Wed, Jul 1, 2026 at 8:39 PM dana <dana@xxxxxxx> wrote:
>
> not related to performance but i also noticed that, in both compaudit
> and compdump, we sometimes treat the elements of fpath as glob patterns
> and sometimes not. to me that seems undesirable so i've made it not do
> that. but tell me if i'm wrong

I don't see from eyeballing which changes in this patch you refer to,
but typically the reason for treating array elements as glob patterns
is to be able to apply the (N) flag and thereby remove any paths that
don't exist.  $path and $fpath may be set in shared .z* files to cover
a number of possible locations that don't exist on every server where
the file is used.




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