1BRC with C++ #43
csantv
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
Uh oh!
There was an error while loading. Please reload this page.
-
Found this challenge and gave it a try with modern C++20. In order to use the complete standard, OneTBB is required under linux.
https://github.com/csantv/1brc-cpp/blob/master/src/main.cpp
Can get 9 seconds on my 5950x, only requires ~16GB of ram, 12 of those being the input file loaded to memory.
Beta Was this translation helpful? Give feedback.
All reactions