4 ms·
I have a history question. I've seen this link a few times: https://www.gnu.org/prep/standards/html_node/Reading-Non_002dFree-Code.html#Reading-Non_002dFree-Cod
by endgame 4y ago
I have a history question. I've seen this link a few times: https://www.gnu.org/prep/standards/html_node/Reading-Non_002dFree-Code.html#Reading-Non_002dFree-Code https://www.gnu.org/prep/standards/html_node/Reading-Non_002...
Did this advice from GNU inspire you to optimise `yes`, did your optimised `yes` inspire GNU to write this, or is there no historical connection between your optimised `yes` and this advice?
- pixelbeat__ 4y agoTrying to differentiate GNU implementations had nothing to do with it. This is never a consideration for me. It was worth the slight increase in complexity for the reasons stated in the commit message. Also an unmentioned point is that the coreutils code is very often referenced, so should be as robust and performant as possible, so those properties may percolate elsewhere.
- endgame 4y agoThanks, that makes a lot of sense.