Darin is concerned for (size_t i = 0; i < string.length(); i++) my cause performance problem due to string.length().
Created attachment 118063 [details]
Comment on attachment 118063 [details]
View in context: https://bugs.webkit.org/attachment.cgi?id=118063&action=review
> + const size_t length = string.length();
Please remove the const (or you could make src also const and build a bicycle shed).
Committed r102177: <http://trac.webkit.org/changeset/102177>