Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
stream buffering
- X-seq: zsh-users 15810
- From: Rory Mulvaney <rorymulv@xxxxxxxxx>
- To: zsh-users@xxxxxxx
- Subject: stream buffering
- Date: Thu, 17 Feb 2011 19:40:20 -0600 (CST)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:date:from:x-x-sender:to:subject:message-id :user-agent:mime-version:content-type; bh=W6Hbvkow4E+VbNiICpqJ6xM3RmHlxJYU9UiSK/4iIcU=; b=SJl5rwLhx5TQCNYY2Vu0hMLkb2FvXBt4lZIFWl7lsVD1DFTVVSDVe1ovp2N29QK1hq rvg/7o8TTLbChvn98PZP1+KbPxxmmWaOjQBUv2XfchnKaCJBmqMx+ygeTCMYF+57CORK J/2eViuVAYXRTbLq/GsvycXvnEOnC0WGmD9iU=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:x-x-sender:to:subject:message-id:user-agent:mime-version :content-type; b=Ag7Qc4oLw0gJOJUNytqI7qb8zlqytR7DjSDdzNntSf2X/nUUgCFCDw7XmozwREO6ps bMhgLpO7kq87pHMNH20M+bbav2ybSU7M28Ayj30w5HVoSRGW9KdwncBFBWO55VkoBxI4 23rY/6Gem4q2GQ/za0AER/WI3JghJQR0zrOvM=
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
I'm wondering if the reason that some I/O intensive zsh shell scripts
aren't fast is mostly only because the I/O is (I think) line-buffered.
Is there a way to do full buffering of streams, or what would be the best
way to provide it? Maybe a module similar to zsh/net/socket, perhaps
using setvbuf(3)?
Also, thanks for the big help on my coproc question a little while ago.
Thanks in advance,
Rory
Messages sorted by:
Reverse Date,
Date,
Thread,
Author