Improving Function.prototype.bind
Mark S. Miller
erights at google.com
Fri Jan 6 09:03:04 PST 2012
On Fri, Jan 6, 2012 at 1:50 AM, David Bruant <bruant.d at 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120106/1812b74f/attachment.html>
More information about the es-discuss
mailing list