Re:Benchmarking shell pipelines and the Unix “tools” philosophy
by cperciva on Tuesday January 07, 2020 @11:58PM
(#21988500)
He's comparing apples to oranges and reaching the conclusion that... yes, apples and oranges are different things. He's quite aware of this, and even points out the tradeoff -- `sort | uniq -c` still works if your dataset doesn't fit into RAM.
[ Parent
| on HN ]
Re:Benchmarking shell pipelines and the Unix “tools” philosophy
by tuldia on Wednesday January 08, 2020 @02:30AM
(#21989132)
Counting "words" vs sorting+counting "lines" are a complete different thing.
Heck, forget about RAM, the output of both programs don't even match.
That awk is pretty efficient and fast is no surprise ;)