Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(313)

Issue 2332333002: [regexp/string] Merge ExpandReplacement and GetSubstitution (Closed)

Created:
4 years, 3 months ago by jgruber
Modified:
4 years, 3 months ago
CC:
v8-reviews_googlegroups.com, Yang
Target Ref:
refs/pending/heads/master
Project:
v8
Visibility:
Public.

Description

[regexp/string] Merge ExpandReplacement and GetSubstitution R=littledan@chromium.org BUG=v8:5339 Committed: https://crrev.com/5ab3874559475479efa2b93f53bf508b71890497 Cr-Commit-Position: refs/heads/master@{#39528}

Patch Set 1 #

Patch Set 2 : Rebase #

Patch Set 3 : Compile fixes #

Patch Set 4 : Rebase once more #

Patch Set 5 : And again #

Patch Set 6 : Optimize for performance #

Patch Set 7 : Fix test failures #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -107 lines) Patch
M src/js/regexp.js View 1 2 3 4 5 6 8 chunks +40 lines, -9 lines 0 comments Download
M src/js/string.js View 1 3 4 5 chunks +8 lines, -98 lines 0 comments Download

Messages

Total messages: 45 (33 generated)
jgruber
4 years, 3 months ago (2016-09-13 13:20:01 UTC) #21
Dan Ehrenberg
It's definitely nicer-looking code, but does this patch cause any performance regression?
4 years, 3 months ago (2016-09-13 17:14:53 UTC) #22
Dan Ehrenberg
On 2016/09/13 at 17:14:53, Dan Ehrenberg wrote: > It's definitely nicer-looking code, but does this ...
4 years, 3 months ago (2016-09-13 17:28:20 UTC) #23
jgruber
On 2016/09/13 17:28:20, Dan Ehrenberg wrote: > On 2016/09/13 at 17:14:53, Dan Ehrenberg wrote: > ...
4 years, 3 months ago (2016-09-14 08:47:06 UTC) #27
jgruber
ptal. Seems like the trade-off is ~2% performance loss on replace vs. more maintainable code.
4 years, 3 months ago (2016-09-16 07:28:27 UTC) #34
Dan Ehrenberg
On 2016/09/16 at 07:28:27, jgruber wrote: > ptal. Seems like the trade-off is ~2% performance ...
4 years, 3 months ago (2016-09-19 15:33:07 UTC) #35
jgruber
+bmeurer for opinions on 2% regression for Symbol.replace.
4 years, 3 months ago (2016-09-20 07:17:31 UTC) #37
Benedikt Meurer
LGTM on 2%
4 years, 3 months ago (2016-09-20 07:24:48 UTC) #38
Benedikt Meurer
On 2016/09/20 07:24:48, Benedikt Meurer wrote: > LGTM on 2% LGTM on code
4 years, 3 months ago (2016-09-20 07:25:21 UTC) #39
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2332333002/120001
4 years, 3 months ago (2016-09-20 07:43:54 UTC) #41
commit-bot: I haz the power
Committed patchset #7 (id:120001)
4 years, 3 months ago (2016-09-20 08:13:28 UTC) #43
commit-bot: I haz the power
4 years, 3 months ago (2016-09-20 08:13:42 UTC) #45
Message was sent while issue was closed.
Patchset 7 (id:??) landed as
https://crrev.com/5ab3874559475479efa2b93f53bf508b71890497
Cr-Commit-Position: refs/heads/master@{#39528}

Powered by Google App Engine
This is Rietveld 408576698