String::lower() - Skip to slow patch on the first failure
Created attachment 207055 [details] Patch
Comment on attachment 207055 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=207055&action=review > Source/WTF/ChangeLog:3 > + String::lower() - Skip to slow patch on the first failure Note to self: fix the changlog!
Committed r153007: <http://trac.webkit.org/changeset/153007>
Did this slow down the “already all lowercase” case? How did you measure that?
(In reply to comment #4) > Did this slow down the “already all lowercase” case? I could not measure any difference for the fast path on x86_64 and ARM. > How did you measure that? Through the JS API with String.toLowerCase() with an ad-hoc benchmark.