About Functions.forMap, default putIfAbsent and Set operations
Peter Levart
peter.levart at gmail.com
Fri Jan 25 23:30:05 PST 2013
On 01/25/2013 06:18 PM, Cleber Muramoto wrote:
> in most cases. Most of ConcurrentMap default-method code is rewritten for
> performance/correctness. Are there plans to do this for core java maps too?
I have proposed this for j.u.HashMap:
http://mail.openjdk.java.net/pipermail/lambda-dev/2013-January/007509.html
I think it would be a valuable addition for speeding-up some operations
with HM.
I would also like to note that currently, default metohd j.u.Map#compute
is broken (see above link for explanation).
Regards, Peter
More information about the lambda-dev
mailing list