2 ms·
>because without adding a BufWriter in rust, stdout is line-buffered, so each line emits a write system call, Why the hell is it line-buffered when writing to
by wruza 9y ago
>because without adding a BufWriter in rust, stdout is line-buffered, so each line emits a write system call,
Why the hell is it line-buffered when writing to a pipe? Yet another common sense “enhancement”?