WeakMap better than Private Symbols? (was: direct_proxies "problem")

Erik Arvidsson erik.arvidsson at gmail.com
Thu Jan 10 08:55:27 PST 2013

Private symbols should be faster. No need for hashing and GC of an object
with private symbols is the exact same GC as any other object. Getting the
GC behavior of a WeakMap is a lot harder (and thus slower).

...also what Brendan just said.

On Thu, Jan 10, 2013 at 11:50 AM, Brandon Benvie
<brandon at brandonbenvie.com>wrote:

> They both have their place since there's many uses for both inherited and
> non-inherited private values.
> _______________________________________________
> es-discuss mailing list
> es-discuss at mozilla.org
> https://mail.mozilla.org/listinfo/es-discuss

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20130110/da25ede9/attachment.html>

More information about the es-discuss mailing list