Re:Destroying C with 20 lines of Haskell: wc
by divisonby0 on Tuesday February 04, 2020 @08:23AM
(#22235212)
But that post left me wondering: is it possible to do better without resorting to parallel processing?
Turns out the answer is yes.
From the introduction
"...There’s also a parallel version that relies on the monoidal structure of the problem a lot, and that one actually beats C"
coreutils wc is single-threaded, just checked.