News for hackers. Stuff that matters.
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.
Re:Comparison of C++17, Go, and Java for a next-generation s... by benibela on Friday April 24, 2020 @07:06AM (#22966726)
My benchmark is one insert, multiple lookups, repeat.

I have no use for deletions. Although when I want to make a general benchmark, I probably should measure it once, too