I believe it was me who removed this flattening, see
http://code.google.com/p/v8/source/detail?r=2999
The idea was that flattening is worth if you write the same string several
times. Otherwise, if you write it out only once, it's cheaper to bypass
flattening.
And overall, it seems right not to bundle two things---writing out and
flattening---into one function.
So could I suggest you to try one of the following approaches:
1) in your code, flat string before writing it out;
2) if for some reason that won't work, couldn't we add a flag if string
should
be made flat (this flag should probably default to false).
What do you think?
http://codereview.chromium.org/1594017
--
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
To unsubscribe, reply using "remove me" as the subject.