News for hackers. Stuff that matters.
Re:A little story about the `yes` Unix command by MattPalmer1086 on Thursday July 21, 2022 @12:51AM (#32175888)
Always love reading about performance enhancements to code. This is a great example of how much you can do with such a simple thing.

I can't see that any of this optimisation is actually useful in the real world. Does yes actually need such a high throughput? Would anything suffer if it didn't? Probably not. Still fun though.

Re:A little story about the `yes` Unix command by iforgotpassword on Thursday July 21, 2022 @01:59AM (#32176247)
Maybe some day you want to automate installing a program that needs about three billion confirmations a second regarding various things...
Re:A little story about the `yes` Unix command by MattPalmer1086 on Thursday July 21, 2022 @02:15AM (#32176329)
Let's hope not, but good to know yes has me covered :)
Re:A little story about the `yes` Unix command by amelius on Thursday July 21, 2022 @06:37AM (#32177723)
It's cheaper than a lawyer, that's for sure.