Chromium Code Reviews
DescriptionMake WebString::equal take the length for const char* too
This makes strlen calls optimized away for literal strings.
(Verified a few callsites to see the strlen actually gets replaced with
immediate values for literal strings)
BUG=667131
Review-Url: https://codereview.chromium.org/2655013004
Cr-Commit-Position: refs/heads/master@{#446322}
Committed: https://chromium.googlesource.com/chromium/src/+/56bb6b406b0a1cbfbc9b21fcbcaac6bd16e7e9a9
Patch Set 1 #
Total comments: 4
Patch Set 2 : null crash fix #
Messages
Total messages: 20 (12 generated)
|
||||||||||||||||||||||||||||