WeakMap better than Private Symbols? (was: direct_proxies "problem")
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss