DescriptionEagerly escape RegExp.source.
Escaping used to happen lazily, implemented in an accessor property.
However, native implementation of RegExp methods use .source as well.
This leads to performance regressions. Now we do it eagerly instead.
R=jkummerow@chromium.org
BUG=chromium:436447
LOG=N
Committed: https://crrev.com/4a5de9d9e36ff0f8e82ad7f7d48b37d608713b16
Cr-Commit-Position: refs/heads/master@{#27705}
Patch Set 1 #
Messages
Total messages: 6 (1 generated)
|