I've re-implemented a subset of this CL in C++, as the JS implementation was
unfortunately too slow and caused test cases with long arrays to hang. The
FixedArray backing store for elements seems to make this work much better.

This is not quite spec correct, but it does enable spreading of array-like
objects.

Things remaining to do:

- Always treat subclasses of Array as ConcatSpreadable
- Return a subclass of Array if `this` is a subclass of Array from the same
realm, rather than always an Array.
- Improve calculation of `length` for array-like spreadable properties

https://codereview.chromium.org/771483002/

--
--
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/d/optout.

Reply via email to