Description[string] Move String.p.toLowerCase to CSA
This CL migrates the CPP builtin to CSA with fast paths for strings
that can be unpacked to direct one-byte strings. Short strings are
handled directly in CSA, others need to call into C for conversion.
Microbenchmarks for "abcd".toLowerCase() show speedups of 2.5x.
BUG=v8:6353, v8:6344
Review-Url: https://codereview.chromium.org/2859203002
Cr-Commit-Position: refs/heads/master@{#45141}
Committed: https://chromium.googlesource.com/v8/v8/+/f0e95769dbc3c209f513c68e2aa7c9433c4cd934
Patch Set 1 #Patch Set 2 : Rebase #Patch Set 3 : Implement lookup and unpacking for short strings #
Total comments: 1
Patch Set 4 : Remove unused code #
Total comments: 10
Patch Set 5 : Use unpacked string in C call #
Total comments: 2
Patch Set 6 : Address comments #
Total comments: 4
Patch Set 7 : Address comments #
Messages
Total messages: 35 (27 generated)
|