3 ms·
I have never read the source of yes but used it so for me it could be 20 megabytes of source for what I know - as long as it is efficient why would I care ?
by jcelerier 4y ago
I have never read the source of yes but used it so for me it could be 20 megabytes of source for what I know - as long as it is efficient why would I care ?
- rbanffy 4y agoHow does that efficiency reflect in actual usage? I’d imagine the time waiting for a “y” would be negligible for all but the most trivial tasks.
- jcelerier 4y agogrepping for yes being piped in shell scripts yields a couple hundred matches in my computer - small things add up
- rbanffy 4y agoHow much time is spent generating a “y” compared to do the job the yes is being piped in? In a million years it’d have spared… about a 386 worth of compute ;-)