Here's my implementation in Go, which runs in under 5 seconds. It doesn't use anything too obscure, only the built-in maps and no external libraries. It's also the fastest solution I've tested on my M3 Pro Mac. Eager to see what beats it! https://gist.github.com/corlinp/176a97c58099bca36bcd5679e68f...
There’s an implementation in C which should run in well under 2 seconds on your M3. https://github.com/dannyvankooten/1brc
`bin/analyze measurements.txt 30.34s user 16.28s system 629% cpu 7.406 total`