On 2013/06/12 21:45:32, arv wrote:
Feedback wanted.

This implements Array.prototype.{values,keys,entries}

It currently depends on Symbol for the private state. Is there an alternative
here to not have this dependency? It seems silly to have to implement the
array
iterator in C++ to work around that.

Looks good so far.

Unfortunately, the only alternative to symbols seem to be weak maps, but they'd be significantly more expensive. I honestly don't know what we should do about this problem in general. I already feel tempted to add some non-standard API for
true private names/properties...


https://codereview.chromium.org/16848004/

--
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- You received this message because you are subscribed to the Google Groups "v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to