by TickleSteve · 6y ago · 0 comments
"...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.
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