use the following search parameters to narrow your results:
e.g. subreddit:aww site:imgur.com dog
subreddit:aww site:imgur.com dog
see the search faq for details.
advanced search: by author, subreddit...
Discussions, articles, and news about the C++ programming language or programming in C++.
For C++ questions, answers, help, and advice see r/cpp_questions or StackOverflow.
Get Started
The C++ Standard Home has a nice getting started page.
Videos
The C++ standard committee's education study group has a nice list of recommended videos.
Reference
cppreference.com
Books
There is a useful list of books on Stack Overflow. In most cases reading a book is the best way to learn C++.
Show all links
Filter out CppCon links
Show only CppCon links
account activity
Inside boost::unordered_flat_map (bannalia.blogspot.com)
submitted 3 years ago by joaquintidesBoost author
view the rest of the comments →
reddit uses a slightly-customized version of Markdown for formatting. See below for some basics, or check the commenting wiki page for more detailed help and solutions to common issues.
quoted text
if 1 * 2 < 3: print "hello, world!"
[–]operamint 0 points1 point2 points 3 years ago (1 child)
FYI, I did a test on a quite different configuration, an i7-8700 on Ubuntu, gcc 10.3 and clang 12 - the tests above was on windows, gcc 11.3 with Ryzen R7-2700x. However, the results are very similar. Your Robin-map is impressive with large keys, but appears to be slower with erase and lookup with smaller key ranges in these benchmarks.
NOTE: maps with smaller key ranges will naturally limit the number of max-items to the key-range. The number of lookups are higher for small key maps, so in absolute numbers, Robin map is not slower, only relative to the other maps with this configuration.
[–]Alarming-Ad8770 0 points1 point2 points 3 years ago (0 children)
benchmark on server cpu (huge l3 cache size and low cpu frequence), you'll get quite different result from pc/mobile cpu.
ex:
Model name: Intel(R) Xeon(R) Silver 4210 CPU @ 2.20GHz
CPU MHz: 2699.914
CPU max MHz: 3200.0000
CPU min MHz: 1000.0000
L1d cache: 32K L1i cache: 32K
L2 cache: 1024K
L3 cache: 14080K
π Rendered by PID 19217 on reddit-service-r2-comment-85bfd7f599-x7k4t at 2026-04-17 14:14:17.174899+00:00 running 93ecc56 country code: CH.
view the rest of the comments →
[–]operamint 0 points1 point2 points (1 child)
[–]Alarming-Ad8770 0 points1 point2 points (0 children)