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

Issue 11882005: Fix performance of array literals (e.g. "[1, 2]"). Improves speed of DeltaBlue. (Closed)

Created:
7 years, 11 months ago by srdjan
Modified:
7 years, 11 months ago
Reviewers:
Ivan Posva
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Fix performance of array literals (e.g. "[1, 2]"). Improves speed of DeltaBlue. Simplify code to allocate groable object array from an object array. Committed: https://code.google.com/p/dart/source/detail?r=16999

Patch Set 1 #

Patch Set 2 : #

Total comments: 1

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+9 lines, -9 lines) Patch
M runtime/lib/array_patch.dart View 1 2 1 chunk +5 lines, -5 lines 0 comments Download
M runtime/lib/growable_array.dart View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M runtime/vm/intrinsifier.h View 1 2 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 4 (0 generated)
srdjan
7 years, 11 months ago (2013-01-11 22:13:35 UTC) #1
Ivan Posva
https://codereview.chromium.org/11882005/diff/2001/runtime/lib/array_patch.dart File runtime/lib/array_patch.dart (right): https://codereview.chromium.org/11882005/diff/2001/runtime/lib/array_patch.dart#newcode52 runtime/lib/array_patch.dart:52: result._setLength(elements.length); This is confusing. Please update as discussed.
7 years, 11 months ago (2013-01-11 23:15:58 UTC) #2
srdjan
Changed GrowableObjectArray.fromObjectArray to .withData
7 years, 11 months ago (2013-01-11 23:31:56 UTC) #3
Ivan Posva
7 years, 11 months ago (2013-01-11 23:37:08 UTC) #4
LGTM -ip

Powered by Google App Engine
This is Rietveld 408576698