On Fri, Jan 6, 2012 at 1:50 AM, David Bruant <bruan...@gmail.com> wrote:

>  Le 06/01/2012 10:40, Andrea Giammarchi a écrit :
>
> if WeakMaps are so smart ... it means we cannot shim them without causing
> leaks in non WeakMap ready browsers since no magic will happen,objects as
> keys will simply be persistent in the WeakMap private scope
>
> Indeed. Also, Mark Miller mentionned a couple of times that the SES
> polyfill [1] leaks less than one could expect. I haven't taken the time to
> look into that but it's probably worth mentionning.
>

And it's probably worth looking into ;)


> [1] http://code.google.com/p/es-lab/source/browse/trunk/src/ses/WeakMap.js
>
>
>
-- 
    Cheers,
    --MarkM
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to