paint-brush
Counting lines 60% faster than wc, with Clojure + core.asyncby@atroche
2,374 reads
2,374 reads

Counting lines 60% faster than wc, with Clojure + core.async

by Alistair Roche2mMarch 2nd, 2017
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow

Too Long; Didn't Read

Yesterday I noticed that <a href="https://medium.com/@atroche/file-processing-in-clojure-can-easily-become-cpu-bound-3c1c38669daf" target="_blank">my laptop’s SSD is so fast, any single core can’t keep up </a>— even with as simple a task as counting lines in a <a href="https://hackernoon.com/tagged/file" target="_blank">file</a>, with as battle-tested a tool as <a href="https://en.wikipedia.org/wiki/Wc_%28Unix%29" target="_blank">wc</a>.

Company Mentioned

Mention Thumbnail
featured image - Counting lines 60% faster than wc, with Clojure + core.async
Alistair Roche HackerNoon profile picture
Alistair Roche

Alistair Roche

@atroche

L O A D I N G
. . . comments & more!

About Author

TOPICS

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite