Description[string] Optimize ToDirectStringAssembler for sequential strings
ToDirectStringAssembler is used in StringCharCodeAt and SubString
(which uses StringCharCodeAt internally). SubString is used all over the
place (e.g. RegExp result construction), and is critical for benchmark
performance.
The CL introducing ToDirectStringAssembler caused a couple of
regressions which this is intended to fix by adding a fast path for
sequential strings.
BUG=chromium:702246
Review-Url: https://codereview.chromium.org/2754933003
Cr-Commit-Position: refs/heads/master@{#43897}
Committed: https://chromium.googlesource.com/v8/v8/+/338257509d7f5ec8ea0a16ba3eb263265efa06f9
Patch Set 1 #
Messages
Total messages: 14 (10 generated)
|