by corlinpalmer · 2y ago · 0 comments
https://gist.github.com/corlinp/176a97c58099bca36bcd5679e68f...
https://github.com/gunnarmorling/1brc#results
The fastest is currently at 12 seconds (not on M3 Pro though).
`bin/analyze measurements.txt 30.34s user 16.28s system 629% cpu 7.406 total`
With SIMD and certain assumptions about the input this can seemingly be further reduced to well under a second, eg see https://github.com/gunnarmorling/1brc/discussions/138.
I would love it if you could run my solution and compare!