Untitled

ConcurrentHashMap 的效率要高于 Hashtable

因为 Hashtable 给整个哈希表加锁的从而实现线程安全。

而 ConcurrentHashMap 的锁粒度更低: