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
<[email protected]>wrote:

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


-- 
erik
_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to