I've been meaning to try this since seeing:
https://mazzo.li/posts/fast-pipes.html

Performance improvement is significant.
On a power10 system, throughput went from 12GiB/s to 175GiB/s.

This also got me thinking that generating zeros efficiently
would be generally useful. Piping through tr loses a lot of
the efficiency, so I was wondering about adding a -z option to yes(1)
like many other coreutils to NUL terminate each "line".
Then you could generate zeros with: yes -z ''

cheers,
Padraig


Reply via email to