Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Extended globbing seems to have become much slower in recent versions of Zsh
- X-seq: zsh-users 21331
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: Extended globbing seems to have become much slower in recent versions of Zsh
- Date: Mon, 29 Feb 2016 11:12:12 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=brasslantern-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:date:in-reply-to:comments:references:to:subject :mime-version; bh=hREOlK5VpGQ0Q68779ZC6oeZvqAcbbG1oiCzGRCzZQI=; b=eXvf9EfFpkbdjGVc2OR8lUPfMksx1QbwMDx4FN+URtx8xxnlrUcbuX018B29kLPiDb ecBznzeVdIxTtsCL/GveLTWHGfOw3JdFdYPW4hgwMX8MHluX2k5o97YwX8N7+aCkjD6H oIqASt7wHG6BOjeb6sUEXcZIYwq4N/0aPRDwcKN01zHEdWWnmA1Nid24Mijr7xRd3dnR rg5dCeRIV2abQZ9pHH5UTrftBIOH6ixbv3QFv3gO+IXmnHST9VzQbiGhhHQGl5x7ivWH Wax+T9vmdDV0w8XdrFxEEnzlSQstslFHEwaKIkZUUHAlD+zCHZQ+HqfVLUuqsfVnJlcu pAPA==
- In-reply-to: <CABZhJg--GUe_1zfXxvvX4Dn=t8MgqG2e7poFCSFKKtC3a3AQ7g@mail.gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <CABZhJg--GUe_1zfXxvvX4Dn=t8MgqG2e7poFCSFKKtC3a3AQ7g@mail.gmail.com>
On Feb 28, 9:18pm, Jesper Nygards wrote:
}
} The results of my experiments seem to indicate that something has changed
} relatively recently with regards to extended globbing.
There were a number of changes mostly related to correct handling of
multibyte characters and single bytes in the range 128-255 appearing
in file and directory names. This means some strings are passing
through the "unmetafication" process more often than they were, but
I can't say for sure this is the source of any slowdown.
It'd be helpful if you re-ran your tests with more variations of the
pattern:
**/*
**/*(-.D)
**/*~(your long list of exclusions)
(#i)**/*~(your long list of exclusions)
**/*~(your long list of exclusions)(-.D)
Also, first declare "float SECONDS" and then use "print $SECONDS" instead
of "date", so we get a more precise measure of where the time is spent.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author