From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id eaa40118 for ; Fri, 5 Jul 2019 15:54:51 +0000 (UTC) Received: (qmail 18140 invoked by alias); 5 Jul 2019 15:54:42 -0000 Mailing-List: contact zsh-users-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Users List List-Post: List-Help: List-Unsubscribe: X-Seq: 24014 Received: (qmail 1272 invoked by uid 1010); 5 Jul 2019 15:54:42 -0000 X-Qmail-Scanner-Diagnostics: from aurora-borealis.phear.org by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.101.2/25496. spamassassin: 3.4.2. Clear:RC:0(94.242.205.164):SA:0(-2.0/5.0):. Processed in 2.486809 secs); 05 Jul 2019 15:54:42 -0000 X-Envelope-From: eiro@phear.org X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at phear.org designates 94.242.205.164 as permitted sender) X-Virus-Scanned: amavisd-new at phear.org DKIM-Filter: OpenDKIM Filter v2.10.3 aurora-borealis.phear.org 7CFF8100A2 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=phear.org; s=20180217; t=1562342037; bh=iK/YCSO9M3jdm73O8k3V/iRZ6R9GpB6v0/NQ6Gpw2fo=; h=Date:From:To:Cc:Subject:References:In-Reply-To:From; b=LQFznecQoeGrcQVvuJ0LDuprF8PdxDKAKvDFRUN3hdbMSNuFW8guZjr+xcQY21Gyk Qmnx9KbmKznrdWoMcsrcA2Zd/yT2x9DJXMO+7jX0nmyV5pjvwAWKFyX3jwUj7lbJWC jq+RcsBeEz8gxGLoVVo+qdgsE6xE1/9entU6R9dxkzAbOIpN7SREtFu/LESNQV/H31 9jQ2RhqLP84W5OsoYIOMKRYPfY9KGaUG32h0MEYRIl1zy0vETCJ21zwX39jY5nlj8t XzKE2d6aMaeyBxC96WQ5qDnT0oQTTKpNnNxZ1n5StTH79M0EA8uiwHqZXyDHNdii0W YmCcYO5pPqbAg== Date: Fri, 5 Jul 2019 17:53:55 +0200 From: Marc Chantreux To: Peter Stephenson Cc: zsh-users@zsh.org Subject: Re: zsh poor performances while reading and testing ? Message-ID: <20190705155355.GA24217@prometheus.u-strasbg.fr> References: <20190703135824.GA19289__20170.6622539618$1562162400$gmane$org@prometheus.u-strasbg.fr> <20190703142831.dc762dlvgaxxvbmr@chaz.gmail.com> <20190705132842.GA21074@prometheus.u-strasbg.fr> <1562334265.7053.11.camel@samsung.com> <20190705142142.GA21718@prometheus.u-strasbg.fr> <1712208398.1967951.1562336981169@mail2.virginmedia.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <1712208398.1967951.1562336981169@mail2.virginmedia.com> User-Agent: Mutt/1.10.1 (2018-07-13) hello Peter, > Personally, I don't use shell scripting these days for anything other > than helping with interactive use, and I don't consider myself > particularly unfamiliar with the shell. doesn't seems so ;) as i said: my fist attempt when i wrote this benchmark was to point out how fast are filters compared to while loops. so i don't use zsh for those kind of stuff too. i was using zsh+(many filters) for decades now because in some cases, it was the fastest way to get things done (even perl5 isn't even close to the simplicity of some shell scripts). the only recent game changer for me it perl6: for the first time of my life, i feel it's time to kiss shell scripting goodbye. regards, marc