On Mon, May 21, 2012 at 9:42 AM, Allen Wirfs-Brock <[email protected]> wrote: > The "weak reference" semantics needs to apply to the entire collection in > order to avoid key/value circularity induced leaks
I don't think this is quite right. The semantics need to refer to both (a) the object containing the entry and (b) the key of the entry. But nothing says that the object containing the entries has to be a WeakMap and not just any old object. -j _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

