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

Issue 7003083: Don't allocate handles for substrings when filling up the split result array.

Created:
9 years, 6 months ago by sandholm
Modified:
9 years, 6 months ago
Reviewers:
Lasse Reichstein
CC:
v8-dev
Visibility:
Public.

Description

Don't allocate handles for substrings when filling up the split result array.

Patch Set 1 #

Total comments: 2

Patch Set 2 : '' #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -25 lines) Patch
M src/runtime.cc View 1 4 chunks +42 lines, -25 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
sandholm
9 years, 6 months ago (2011-06-09 12:16:35 UTC) #1
Lasse Reichstein
LGTM http://codereview.chromium.org/7003083/diff/1/src/runtime.cc File src/runtime.cc (right): http://codereview.chromium.org/7003083/diff/1/src/runtime.cc#newcode5811 src/runtime.cc:5811: part_start, This is an unpretty combination of handle ...
9 years, 6 months ago (2011-06-10 07:32:17 UTC) #2
sandholm
9 years, 6 months ago (2011-06-10 10:13:31 UTC) #3
http://codereview.chromium.org/7003083/diff/1/src/runtime.cc
File src/runtime.cc (right):

http://codereview.chromium.org/7003083/diff/1/src/runtime.cc#newcode5811
src/runtime.cc:5811: part_start,
On 2011/06/10 07:32:17, Lasse Reichstein wrote:
> This is an unpretty combination of handle and non-handle code.
> Make the JSArray and FixedArray allocations not use handles either, and remove
> the HandleScope.
> 
> Perhaps don't allocate the JSArray until the end.

Done.

Powered by Google App Engine
This is Rietveld 408576698