There's an issue with string externalization. We can't rely on parent staying a sequential string. It may be externalized and change its encoding. This makes
slices similar to conses, we have to check the parent's type separately.

I don't think we want to prohibit externalization of parents. In case they are
huge strings we risk wasting lots of memory when passing them from V8 to the
embedder.

http://codereview.chromium.org/7477045/

--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev

Reply via email to