Revert "In RegExp, lastIndex is read with ToLength, not ToInteger"
$toLength is slow, causing a 3.8%-8% regression in the Octane RegExp benchmark. Reverting this patch brings it back up. To make this change, we'll need a faster implementation fo $toLength. BUG=chromium:513160 LOG=Y R=adamk Review URL: https://codereview.chromium.org/1243053005 Cr-Commit-Position: refs/heads/master@{#29830}
Showing
Please
register
or
sign in
to comment