Investigate common cases string processing is generic (e.g. using characters()) and could benefit from 8 bit specific processing.
Retargeting this defect to one java script tune - JSStringBuilder which uses UString::characters() and a 16 bit buffer irrespective of the actual string size or data range.
Created attachment 116243 [details]
Comment on attachment 116243 [details]
What is the performance effect, if any?
(In reply to comment #3)
> (From update of attachment 116243 [details])
> What is the performance effect, if any?
This patch is worth about .5% on SunSpider using jsc.
Committed r101147: <http://trac.webkit.org/changeset/101147>