3 ms·
Counting lines 60% faster than wc, with Clojure and core.async
- deleted 10y ago[deleted]
- an0nym0us1 10y agoI did something like the single-threaded naive approach from http://lemire.me/blog/2017/02/14/how-fast-can-you-count-lines/ http://lemire.me/blog/2017/02/14/how-fast-can-you-count-line... and outperformed wc -l slightly. But Lemire's vectorized/bit magic'd version is 16x as fast as the naive.
- deleted 10y ago[deleted]