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

Issue 10837290: Cache results in SearchRegExpMultiple. (Closed)

Created:
8 years, 4 months ago by Yang
Modified:
8 years, 3 months ago
Reviewers:
ulan
CC:
v8-dev
Visibility:
Public.

Description

Cache results in SearchRegExpMultiple. BUG= Committed: https://code.google.com/p/v8/source/detail?r=12416

Patch Set 1 #

Patch Set 2 : Added test and small changes. #

Patch Set 3 : Actually set a limit. #

Total comments: 4

Patch Set 4 : #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+253 lines, -98 lines) Patch
M include/v8.h View 1 chunk +1 line, -1 line 0 comments Download
M src/heap.h View 1 2 3 2 chunks +17 lines, -9 lines 0 comments Download
M src/heap.cc View 1 2 3 3 chunks +73 lines, -38 lines 0 comments Download
M src/runtime.cc View 1 2 3 9 chunks +84 lines, -50 lines 1 comment Download
A test/mjsunit/regexp-results-cache.js View 1 1 chunk +78 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Yang
PTAL.
8 years, 4 months ago (2012-08-16 18:19:43 UTC) #1
ulan
Few comments: http://codereview.chromium.org/10837290/diff/6001/src/heap.h File src/heap.h (right): http://codereview.chromium.org/10837290/diff/6001/src/heap.h#newcode2575 src/heap.h:2575: class RegExpResultsCache { Can we introduce a ...
8 years, 3 months ago (2012-08-28 08:44:03 UTC) #2
Yang
On 2012/08/28 08:44:03, ulan wrote: > Few comments: > > http://codereview.chromium.org/10837290/diff/6001/src/heap.h > File src/heap.h (right): ...
8 years, 3 months ago (2012-08-28 13:16:23 UTC) #3
ulan
8 years, 3 months ago (2012-08-31 08:52:51 UTC) #4
LGTM

http://codereview.chromium.org/10837290/diff/10002/src/runtime.cc
File src/runtime.cc (right):

http://codereview.chromium.org/10837290/diff/10002/src/runtime.cc#newcode2422
src/runtime.cc:2422: static int GetFinalLength(Handle<FixedArray> array) {
It can be removed now.

Powered by Google App Engine
This is Rietveld 408576698