On Thu, Jan 19, 2012 at 7:51 AM, Mark S. Miller <erig...@google.com> wrote:

>
> Everyone on this thread, is there any need expressed in this thread that
> is not satisfied by InfiniteMap?
>
>

I would say for "notification purpose"

result = lazyFactory(key, defaultValue);

would be more appropriate otherwise the defaultValue looses completely its
meaning the moment "key" is not there due the first if.

Out of curiosity, Chrome experimental flag does not support get(key,
defaultValue) but get(key) only ... is this something missing or Map and
WeakMap will never support officially the second get() argument?

br
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to