Skip to main content

Blog Archive for sdo during December 2005

One of the things that always interests me is the relative performance of the collection classes. Recently, I discovered a particular anomaly of the ConcurrentHashMap class. I've always considered the ConcurrentHashMap class as something to be used in special cases: use a Hashtable, and if you notice a lot of contention for your hashtable, then switch to a ConcurrentHashMap. Of course, you...