Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh poor performances while reading and testing ?
- X-seq: zsh-users 24009
- From: Marc Chantreux <eiro@xxxxxxxxx>
- To: Marc Chantreux <eiro@xxxxxxxxx>, Zsh Users <zsh-users@xxxxxxx>
- Subject: Re: zsh poor performances while reading and testing ?
- Date: Fri, 5 Jul 2019 15:28:42 +0200
- Dkim-filter: OpenDKIM Filter v2.10.3 aurora-borealis.phear.org 41619FFD6
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/simple; d=phear.org; s=20180217; t=1562333324; bh=QCD1Uo20OhosKePzjPgGa+EeBRuwl67U005rOdt6DLU=; h=Date:From:To:Subject:References:In-Reply-To:From; b=qgHuwqcZy3g6x0aAR5+cMS+QPZDeCMCQ7SR9MR4GhH44PMSwCOWW4iQTASHBomd0Q GjUGYrQw/35RtHgrImrjHdlI7y3KjWIWRdSiCpbI5E606Qlyii33EfRW43ESMm9IJQ /BRz0Emak7kQdbN7WTdJWIyr8+3DDoHOYRUzXfK5uR3cPnfosri3nDDa2GSS9u6kSE BKn9T2eNcfIP/oRXzEFYjKSz/hxWc74LtuTUQgyVqWFkk4Lhfv0DDRHqFbzBkIE4wX gzRdrlnK5g/EmFrZhMaY5dBUaEK8BLBfV+H/YLqV+B1gITLwoHfeX+gRVY32dhtUSQ z/EvcjaoRAcvA==
- In-reply-to: <20190703142831.dc762dlvgaxxvbmr@chaz.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>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <20190703135824.GA19289__20170.6622539618$1562162400$gmane$org@prometheus.u-strasbg.fr> <20190703142831.dc762dlvgaxxvbmr@chaz.gmail.com>
hello,
> You'll probably find that they are all as inefficient for
> non-seekable non-peekable input like pipes.
actually my point making this bench was: don't use shell to write
serious filters. however i really appreciate knowing why this difference
exists. thanks a lot.
> IFS= read -r line
ok for -r but as long as i use only one variable, why is it important to
use IFS= ?
regards
marc
Messages sorted by:
Reverse Date,
Date,
Thread,
Author