From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25918 invoked from network); 24 Apr 2005 03:32:35 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 24 Apr 2005 03:32:35 -0000 Received: (qmail 4476 invoked from network); 24 Apr 2005 03:32:29 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 24 Apr 2005 03:32:29 -0000 Received: (qmail 7614 invoked by alias); 24 Apr 2005 03:32:27 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 21172 Received: (qmail 7605 invoked from network); 24 Apr 2005 03:32:26 -0000 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by sunsite.dk with SMTP; 24 Apr 2005 03:32:26 -0000 Received: (qmail 4142 invoked from network); 24 Apr 2005 03:32:26 -0000 Received: from vms040pub.verizon.net (206.46.252.40) by a.mx.sunsite.dk with SMTP; 24 Apr 2005 03:32:22 -0000 Received: from candle.brasslantern.com ([4.11.1.68]) by vms040.mailsrvcs.net (Sun Java System Messaging Server 6.2 HotFix 0.04 (built Dec 24 2004)) with ESMTPA id <0IFF00AEZLTWZAV3@vms040.mailsrvcs.net> for zsh-workers@sunsite.dk; Sat, 23 Apr 2005 22:32:22 -0500 (CDT) Received: from candle.brasslantern.com (IDENT:schaefer@localhost [127.0.0.1]) by candle.brasslantern.com (8.12.11/8.12.11) with ESMTP id j3O3WJY3024731 for ; Sat, 23 Apr 2005 20:32:19 -0700 Received: (from schaefer@localhost) by candle.brasslantern.com (8.12.11/8.12.11/Submit) id j3O3WJtq024730 for zsh-workers@sunsite.dk; Sat, 23 Apr 2005 20:32:19 -0700 Date: Sun, 24 Apr 2005 03:32:18 +0000 From: Bart Schaefer Subject: Re: replacement slowdown In-reply-to: <20050424003350.A87A28638@pwstephenson.fsnet.co.uk> In-reply-to: <1050424004746.ZM24638@candle.brasslantern.com> To: zsh-workers@sunsite.dk Message-id: <1050424033218.ZM24729@candle.brasslantern.com> MIME-version: 1.0 X-Mailer: Z-Mail (5.0.0 30July97) Content-type: text/plain; charset=us-ascii References: <20050422232316.GA27665@scowler.net> <1050423031422.ZM3881@candle.brasslantern.com> <20050423031907.GA27233@scowler.net> <1050423160721.ZM4469@candle.brasslantern.com> <20050423162635.GA30862@scowler.net> <1050423171206.ZM5141@candle.brasslantern.com> <20050424003350.A87A28638@pwstephenson.fsnet.co.uk> <1050424004746.ZM24638@candle.brasslantern.com> Comments: In reply to Peter Stephenson "Re: replacement slowdown" (Apr 24, 1:33am) Comments: In reply to Bart Schaefer "PATCH: Re: replacement slowdown" (Apr 24, 12:47am) X-Spam-Checker-Version: SpamAssassin 3.0.2 on a.mx.sunsite.dk X-Spam-Level: X-Spam-Status: No, score=-2.6 required=6.0 tests=AWL,BAYES_00 autolearn=ham version=3.0.2 X-Spam-Hits: -2.6 On Apr 24, 1:33am, Peter Stephenson wrote: } } The simplest thing to do is to pass an extra argument to pattrylen(). On Apr 24, 12:47am, Bart Schaefer wrote: } } Here's a patch that does this [by storing it in the Patprog] } plus I think I caught a few more places that should have been } using METAINC(). I agree Peter's solution is simpler, but I think it ought to get merged with my extra METAINC()s and related changes. Maybe the needfullpath part of mine is irrelevant.