By bloid
via floatingpoint.tinou.com
Published: Sep 15 2008 / 06:30
The other day I asked an interviewee to implement a standard hash table. Pretty basic question, but you'd be surprised how many software engineers get stuck. I'm of the belief that if you're going to be using the HashMap class you should be somewhat familiar with its implementation. Wanting to not just "talk the talk" but "walk the walk" I figured I better look at how ConcurrentHashMap is implemented.



Comments
kupolov replied ago:
Good post, but I don't think that modulus operator really affects performance
Voters For This Link (10)
Voters Against This Link (1)