]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Improve yes' throughput
authorgahr <gahr@FreeBSD.org>
Tue, 13 Jun 2017 12:35:01 +0000 (12:35 +0000)
committergahr <gahr@FreeBSD.org>
Tue, 13 Jun 2017 12:35:01 +0000 (12:35 +0000)
commit1d61762ca37c20ab6fa4f5de6e179fa530ec49f2
tree5cb266a031353f182a1d8ec174ed824cc3592353
parent1065b8567421165a5e65e3ad5d8fa4bc348efdea
Improve yes' throughput

On my system, this brings up the throughput from ~20 to ~600 MiB/s.

Inspired by: https://www.reddit.com/r/unix/comments/6gxduc/how_is_gnu_yes_so_fast/

Reviewed by: cognet
Approved by: cognet
usr.bin/yes/yes.c