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

Issue 14836: Unroll + and ? to reduce loop-related work. (Closed)

Created:
12 years ago by Erik Corry
Modified:
9 years, 7 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Unroll + and ? to reduce loop-related work. Committed: http://code.google.com/p/v8/source/detail?r=1003

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -0 lines) Patch
M src/jsregexp.cc View 1 chunk +42 lines, -0 lines 3 comments Download

Messages

Total messages: 2 (0 generated)
Erik Corry
12 years ago (2008-12-18 12:04:16 UTC) #1
Lasse Reichstein
12 years ago (2008-12-18 12:34:17 UTC) #2
LGTM

http://codereview.chromium.org/14836/diff/1/2
File src/jsregexp.cc (right):

http://codereview.chromium.org/14836/diff/1/2#newcode2710
Line 2710: if (min > 0 && min <= 3) {
static const int kMaxUnrollRepetition = 3;

http://codereview.chromium.org/14836/diff/1/2#newcode2716
Line 2716: // TextNodes (which the parser does not generate).
Will these chains of text nodes normalied at a later time?

http://codereview.chromium.org/14836/diff/1/2#newcode2722
Line 2722: if (max <= 3) {
Same constant, or another?

Powered by Google App Engine
This is Rietveld 408576698