The String methods provided in JavaScript should be optimized for 8 bit strings.
Created attachment 115201 [details] Proposed patch
Comment on attachment 115201 [details] Proposed patch r=me
Committed r100314: <http://trac.webkit.org/changeset/100314>