dcsimg

Which is faster, synchronizing a HashMap or using a Hashtable for thread-safe access?

John Zukowski

Because a synchronized HashMap requires an extra method call, a Hashtable is faster for synchronized access.