Hacker News new | ask | show | jobs
by _aavaa_ 1286 days ago
Why are do the C++ implementations perform so poorly?
1 comments

My guess for word_count and faq is that the C++ implementation uses std::unordered_map, which famously has quite poor performance. [0]

[0] https://martin.ankerl.com/2019/04/01/hashmap-benchmarks-01-o...