Various UString methods do not take into account the character size of their arguments. Also the constructors that convert numbers to strings create 16 bit strings.
Created attachment 116252 [details] Patch
Comment on attachment 116252 [details] Patch What is the performance effect, if any?
(In reply to comment #2) > (From update of attachment 116252 [details]) > What is the performance effect, if any? This change appears neutral on SunSpider. Together with other changes it provides a benefit on SunSpider.
Committed r101152: <http://trac.webkit.org/changeset/101152>