map and null values

Doug Lea dl at cs.oswego.edu
Fri Jan 4 04:17:48 PST 2013


On 01/04/13 05:38, Boaz Nahum wrote:
> Null values in maps are usful. Without them you force me to wrap them.

To provide < 1% of users with this convenience, we had to
(1) Slow down HashMap internals for the other 99+% of usages
to specially trap/handle this case
(2) Complicate the Map specs
(3) Postpone (possibly forever) uniform bulk processing APIs
covering both concurrent and non-concurrent Maps.

Oh well.

-Doug




More information about the lambda-dev mailing list