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

Issue 6902144: Handle join of sparse arrays with non-empty separator more efficiently. (Closed)

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

Description

Handle join of sparse arrays with non-empty separator more efficiently. BUG=v8:1028

Patch Set 1 #

Total comments: 1

Patch Set 2 : Add test for empty separator. Fix brainfart. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+188 lines, -13 lines) Patch
M src/array.js View 4 chunks +32 lines, -10 lines 0 comments Download
M src/runtime.h View 1 chunk +1 line, -0 lines 0 comments Download
M src/runtime.cc View 1 1 chunk +129 lines, -0 lines 0 comments Download
M test/mjsunit/array-join.js View 1 4 chunks +26 lines, -3 lines 0 comments Download

Messages

Total messages: 2 (0 generated)
Lasse Reichstein
9 years, 8 months ago (2011-04-29 05:57:03 UTC) #1
Mads Ager (chromium)
9 years, 8 months ago (2011-04-29 08:21:22 UTC) #2
LGTM with an additional test case.

http://codereview.chromium.org/6902144/diff/1/src/array.js
File src/array.js (left):

http://codereview.chromium.org/6902144/diff/1/src/array.js#oldcode132
src/array.js:132: if (!IS_UNDEFINED(e)) {
Is this a bug fix or does it change the behavior? We should have a test case
hitting this to verify that this is the right thing to do.

Powered by Google App Engine
This is Rietveld 408576698