Do not flatten the string, but just write it out.
In DOM bindings in many cases the string would be externalized immediately. For other cases I am going to add explicit flattening. Overall, it looks like if user wants to flat string before writing, it should be an explicit method invocation (going to add TryFlattenIfNotFlat into public V8 API). Review URL: http://codereview.chromium.org/255004 git-svn-id: http://v8.googlecode.com/svn/branches/bleeding_edge@2999 ce2b1a6d-e550-0410-aec6-3dcde31c8c00
Showing
Please
register
or
sign in
to comment