News for hackers. Stuff that matters.
Re:Why GNU grep is fast (2010) by zenhack on Friday July 24, 2020 @03:28AM (#23936718)
There's an opportunity cost. There has to have been a better use of that person's time than taking a tool designed to say yes to repetitive "are you sure?" prompts, and get it to keep up with memory throughput. The throughput of a tool like that does not matter.
Re:Why GNU grep is fast (2010) by throwaway_pdp09 on Friday July 24, 2020 @04:12AM (#23936995)
Here's the code for it https://github.com/coreutils/coreutils/blob/master/src/yes.c

The core is about 70 lines. As for over-optimising it, I think chesterton's fence needs mentioning https://fs.blog/2020/03/chestertons-fence/

I don't think this is a useful avenue of debate for me.