From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 29834 invoked by alias); 20 Jul 2016 05:04:41 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: X-Seq: 38889 Received: (qmail 22698 invoked from network); 20 Jul 2016 05:04:41 -0000 X-Qmail-Scanner-Diagnostics: from mail-pf0-f171.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(209.85.192.171):SA:0(0.0/5.0):. Processed in 0.102911 secs); 20 Jul 2016 05:04:41 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=T_DKIM_INVALID autolearn=unavailable autolearn_force=no version=3.4.1 X-Envelope-From: schaefer@brasslantern.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at brasslantern.com does not designate permitted sender hosts) 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=XaXmlpaE7Hfn2MdcmIRXz6kHYDnlOtf4my0py/Zs/Kk=; b=rnTJyrFvFIK++FUxoJaub4lvbQaen8fFrQx4XX+DpAumuwGCtjCVk2Qd6ojF6SjVSZ SQN5LP3TWX3QuwdhQOX9O2GRmmrSCslbv2OsUxTUKrxW25KHewybCGILrFul4fubIrkR e+lXXIDabfcuV7YmWqovIuV9jaN8RZ6g99473gcdTbUtd4oxsq1jxjYtUJSQEDAoaehW V30z+c4YX9X4NOMZTYuFDI/xSniL5W2TeFU+hMJ1MOhiBRW20lo8CB9KPQTBG06lH80l DY0OO9FXEZeeQfsJymTbexIbYmKRIKH2DbWCk+57V6UdDcZTKHfJ7BAK+rwKM4+KWrbD eMjA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:from:message-id:date:in-reply-to:comments :references:to:subject:mime-version; bh=XaXmlpaE7Hfn2MdcmIRXz6kHYDnlOtf4my0py/Zs/Kk=; b=JQfYEkrPOWxoxS1wzCkd//1uq6NIeZo2SEVkWHeJJYAcRVfobI0lpT0bgDQSCkkQwA g7vTkAqGHBLN4NDsK1w8DHLvdwGq07149iOlgYvAASF6gZ4E0nD6ZGPwyQTxhsEKWUOx t1w90US8rpv2SZ12VU4lRY7M3m+OSL2zavF7T3BnikreaQw80MNoVcvowz+JUhrotMmk REvPUsXjeYCTldiBVXVTliexGYvloCAbbb4tBqhKtwxwpE4TG7HzCQbgMdC1f13s3L90 r3vvqhpaEy7S5egbfj76Vl6bRoG2+aAQPs+PhrR0RW3MSigV/rqkF+MH+s7VzOel6bVn xXNg== X-Gm-Message-State: ALyK8tJCn8HDu/SDD/DzZeF+jqKT1ryuehqYLV3e2RRMZ4imga9oYLv0jSuIN9NcWE8QpQ== X-Received: by 10.98.48.65 with SMTP id w62mr4794738pfw.18.1468991073764; Tue, 19 Jul 2016 22:04:33 -0700 (PDT) From: Bart Schaefer Message-Id: <160719220508.ZM10438@torch.brasslantern.com> Date: Tue, 19 Jul 2016 22:05:08 -0700 In-Reply-To: <20160718111735.6adea125@pwslap01u.europe.root.pri> Comments: In reply to Peter Stephenson "Re: Incorrect sorting of Polish characters" (Jul 18, 11:17am) References: <160716130718.ZM4513@torch.brasslantern.com> <20160718103329.7acbb1b1@pwslap01u.europe.root.pri> <20160718111735.6adea125@pwslap01u.europe.root.pri> X-Mailer: OpenZMail Classic (0.9.2 24April2005) To: zsh-workers@zsh.org Subject: Re: Incorrect sorting of Polish characters MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii On Jul 18, 11:17am, Peter Stephenson wrote: } } Adding an umetafied entry to the glob match that only gets used for } sorting seems to do the trick. I think an additional single pass } through the array of matches isn't a big deal. Hm. On a glob of 16794 files it's about 4% slower over 10 trials with the extra pass over the array of matches. I don't suppose there's some way to store the original file name at the time metafication is applied rather than metafying and then unmetafying again?