mubaris / yes

yes - Implementation of simple and dangerous yes command in various languages. :+1:
MIT License
87 stars 42 forks source link

Update to speed up yes to be on par with system `yes` #99

Closed osleg closed 7 years ago

osleg commented 7 years ago

System yes command on my system works very fast

$ yes | pv -r > /dev/null 
[9.06GiB/s]

Therefore I decided to speed up go version of yes to be on par with system version

$ ./yes | pv -r > /dev/null
[9.63GiB/s]
mubaris commented 7 years ago

Thanks :+1: