1BRC in Zig (~4s runtime, < 10MB memory) #569
almmiko
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
https://github.com/almmiko/1brc-zig
To store stations in sorted order, I've used https://github.com/tidwall/btree.c. However, storing keys in ArrayList and sorting them may perform similarly.
Benchmarks results for Apple M1 Pro 32GB RAM, 10 CPU Cores
Beta Was this translation helpful? Give feedback.
All reactions