Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] compdump: improve performance
- X-seq: zsh-workers 54895
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: dana <dana@xxxxxxx>
- Cc: zsh-workers@xxxxxxx
- Subject: Re: [PATCH] compdump: improve performance
- Date: Wed, 1 Jul 2026 22:12:38 -0700
- Arc-authentication-results: i=1; mx.google.com; arc=none
- Arc-message-signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature; bh=2o6gvZ67kZgzrAmEY7o2dbrz/Au5CDz3z/koCWnb6M8=; fh=WfGsDpWeTF+M2TVUmApBV2qNabodhC7pOL4lqg2Qg6M=; b=XZZIKvL5Qrk2nx5yjrkZM4IAPEc40LVN3vyp9N+3VGfUz7bySDklhB2zvY0SDBBuAe KeArMERzat9EiWM25yohlVZfUImOYf8tiUXGKJF9h4nrteG4Op3mxtFKDTNU8Q+0dMPC 0o76CQW60QCMwEsBUoJXuokjCqlJ5YCc5ryKKUV6JdKzIvyZC5vE49A4LIXQ63BBbJR7 i7X3byNtVQKh/WGucouHiefltP9T36hiY04ZE1pfcWeqbdlYNWzD6pI/LAjLRRWeUZGR Tqif7NtyzkfaqZmw4EfxgfmfDpP3R1n8KKl+m30U+wgcI6ciVsOCq8GV2FKqFWBKQW0t IXdQ==; darn=zsh.org
- Arc-seal: i=1; a=rsa-sha256; t=1782969171; cv=none; d=google.com; s=arc-20260327; b=LOcHjUKaPQ9j+/Y04e43qe1Qx+xbr8ViVQPAoSnWXeRyx6SCOOFGqGBMWqox2J8afX y5AznwKTuF84Drja8wo6GYv1J1x0IffRwq/Z44AQUqsF5MfHYC4v2ETLlUI8ZHBxXxBE KEI8cyffBPkYajIdGzxiMvGgqez6ZOQgTsZG66PiXf1zk7YU3V9uKrXNrXyd9ELMU1ZU boTt6jR8s8vs/T7l5XeD06/jbMwEAaJ46PzPE98oln9gyN58GvGInUb0N9Xfr/zfsl+0 xA1eYmVUT4hhceTsW2KQW4EZFnsg/TtFny58jn6kPFW6xizXaLqDMvKtRxjlsNj7xd0q CmVA==
- Archived-at: <https://zsh.org/workers/54895>
- In-reply-to: <43446639-fa55-417e-9124-dd51b9cf44f1@app.fastmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <43446639-fa55-417e-9124-dd51b9cf44f1@app.fastmail.com>
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