On 7/10/07, Michael Bauroth <[EMAIL PROTECTED]> wrote:
Hi,

is there a special reason why DemuxingIoHandler still uses Hashtable
instead of e.g. ConcurrentHashMap (version 2.0.0)?

We don't need to switch all Map implementations from synchronized
HashMap to ConcurrentHashMap because ConcurrentHashMap doesn't perform
better than synchronized HashMap when small number of threads are
accessing it at the same time.  Moreover, it takes up more heap.

Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP Key ID: 0x0255ECA6

Reply via email to