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.

0 Comments  (click to add your comment)
Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.



About | Sitemap | Contact