Re:Comparison of C++17, Go, and Java for a next-generation s...
by gpderetta on Thursday April 23, 2020 @06:48PM
(#22962452)
Depends what you do. If you populate it only once and then you do a bunch of lookups, assuming a low load factor, you'll be paying for a modulo operation and an extra indirection, not great but not terrible either. If you do a lot of inserts and removal or your load factor is high, then the performance is going to be not great.
[ Parent
| on HN ]