5232a1f ^
1 2 3
GNU yes(1) is not that fast! This implementaion is not only about 8 times faster, it uses half as much CPU.