From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 15012 invoked from network); 26 Feb 2009 22:36:43 -0000 X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=AWL,BAYES_00 autolearn=ham version=3.2.5 Received: from news.dotsrc.org (HELO a.mx.sunsite.dk) (130.225.247.88) by ns1.primenet.com.au with SMTP; 26 Feb 2009 22:36:43 -0000 Received-SPF: none (ns1.primenet.com.au: domain at sunsite.dk does not designate permitted sender hosts) Received: (qmail 62718 invoked from network); 26 Feb 2009 22:36:36 -0000 Received: from sunsite.dk (130.225.247.90) by a.mx.sunsite.dk with SMTP; 26 Feb 2009 22:36:36 -0000 Received: (qmail 11 invoked by alias); 26 Feb 2009 22:36:30 -0000 Mailing-List: contact zsh-workers-help@sunsite.dk; run by ezmlm Precedence: bulk X-No-Archive: yes X-Seq: 26616 Received: (qmail 29989 invoked from network); 26 Feb 2009 22:36:29 -0000 Received: from bifrost.dotsrc.org (130.225.254.106) by sunsite.dk with SMTP; 26 Feb 2009 22:36:29 -0000 Received: from mail-bw0-f179.google.com (mail-bw0-f179.google.com [209.85.218.179]) by bifrost.dotsrc.org (Postfix) with ESMTP id C8C088058F83 for ; Thu, 26 Feb 2009 23:36:26 +0100 (CET) Received: by bwz27 with SMTP id 27so768415bwz.45 for ; Thu, 26 Feb 2009 14:36:25 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=yyCwkftKOfgrOTi3bRhZTo623D5j7Syri+uxqkJ0bsE=; b=D3zX9AAChe4A92elwEemF6I7gb/WQNGVboWANizLgGjUvUUdZ5EOHr6BHSg79smxbF Id7DORn2VIE7wsXuKaIz0z7ebVST6OcAZCgkPfwb4EIX4AyBtkqWFC9XGsJvxMn5BwU6 As0yd1/KmsuTqNm6oNdLWJWXHTC3x9dHaO6Z4= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=Cfd4wERd0iUi6YsqRBkYHAWOcNxnRm3nlpHHKzzooqyfuWRP8eK7H1N4rav+M1QkSn 34l8ePMWYwTxPhRIyLJc0LXSgEigb7Or9RVit5S+u3TCdbZh2olj4+/eqjZajiq2+QBO EbyynwkRa8lUhwYr7LjUMTbchRvJum/jAQTQ4= MIME-Version: 1.0 Received: by 10.180.217.1 with SMTP id p1mr611554bkg.147.1235687785580; Thu, 26 Feb 2009 14:36:25 -0800 (PST) In-Reply-To: References: Date: Thu, 26 Feb 2009 23:36:25 +0100 Message-ID: <237967ef0902261436l63440cc6t6f47310fe660122b@mail.gmail.com> Subject: Re: [wip patch] new zsh/attr module From: Mikael Magnusson To: zsh workers Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.92.1/9051/Thu Feb 26 14:08:01 2009 on bifrost X-Virus-Status: Clean 2009/2/26 Mikael Magnusson : > The problem is it takes a long time when you run it on some significant set > of files since it forks for every file (~10 seconds for hundreds of files). > So I cobbled together this module to make three builtins, zgetattr, zsetattr > and zdelattr. The number of files in the above test was 3300, not hundreds. -- Mikael Magnusson