3 ms·
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.anker
by camel-cdr 4y ago
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-overview/ https://martin.ankerl.com/2019/04/01/hashmap-benchmarks-01-o...