[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] tee: avoid using stdio as tee doesn't buffer
From: |
Pádraig Brady |
Subject: |
[PATCH] tee: avoid using stdio as tee doesn't buffer |
Date: |
Tue, 10 Mar 2015 00:05:32 +0000 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0 |
On 07/03/15 12:10, Pádraig Brady wrote:
> BTW I noticed tee uses stdio calls which is redundant overhead currently.
> It wouldn't if we added a --buffered call to tee so that it might
> honor stdbuf(1), though I'm not sure it's worth that flexibility in tee.
I've attached this change, though I'm 50:50 about applying it,
since it's only a micro optimization.
cheers,
Pádraig.
tee-no-stdio.patch
Description: Text Data
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [PATCH] tee: avoid using stdio as tee doesn't buffer,
Pádraig Brady <=