On Fri, Apr 18, 2008 at 1:56 AM, Ian Holsman <lists@holsman.net> wrote:
> but there is a ConcurrentSkipListMap in 1.6, and with jsr166x.jar (that
> contains the additions to the concurrent package to make it similar to
> 1.6's) it can be used in 1.5
Higher overhead wouldn't be worth it.
Synchronization on the cache is just around a get/put. It's extremely
unlikely for that to be any kind of bottleneck, because the accessing
code has to do something with each lookup - and that is where the time
will be spent.
-Yonik
|