SharedSolutions
SharedSolutions copied to clipboard
You may be interested in Chris Penner's wc solution.
Somehow it's faster than C by virtue of it being automatically parallelisable, because it's Haskell, or something like that.
https://chrispenner.ca/posts/wc
A fascinating read, thanks.