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

Issue 10391056: - Typed arrays should implement all methods from Collection and List interfaces. (Closed)

Created:
8 years, 7 months ago by Ivan Posva
Modified:
8 years, 7 months ago
CC:
reviews_dartlang.org, vm-dev_dartlang.org
Visibility:
Public.

Description

- Typed arrays should implement all methods from Collection and List interfaces. Committed: https://code.google.com/p/dart/source/detail?r=7512

Patch Set 1 #

Total comments: 3
Unified diffs Side-by-side diffs Delta from patch set Stats (+123 lines, -24 lines) Patch
M runtime/lib/byte_array.dart View 6 chunks +123 lines, -24 lines 3 comments Download

Messages

Total messages: 4 (0 generated)
Ivan Posva
8 years, 7 months ago (2012-05-10 19:11:16 UTC) #1
cshapiro
lgtm
8 years, 7 months ago (2012-05-10 19:17:11 UTC) #2
Anders Johnsen
LGTM, thank you for doing this! https://chromiumcodereview.appspot.com/10391056/diff/1/runtime/lib/byte_array.dart File runtime/lib/byte_array.dart (right): https://chromiumcodereview.appspot.com/10391056/diff/1/runtime/lib/byte_array.dart#newcode255 runtime/lib/byte_array.dart:255: new GrowableObjectArray.withCapacity(length), This ...
8 years, 7 months ago (2012-05-11 08:38:53 UTC) #3
Anders Johnsen
8 years, 7 months ago (2012-05-11 08:52:13 UTC) #4
A quick comment.

https://chromiumcodereview.appspot.com/10391056/diff/1/runtime/lib/byte_array...
File runtime/lib/byte_array.dart (right):

https://chromiumcodereview.appspot.com/10391056/diff/1/runtime/lib/byte_array...
runtime/lib/byte_array.dart:1835: void setRange(int start, int length, List<int>
from, [int startFrom = 0]) {
I was wondering if we should change this to a call to ByteArray._setRange, or if
the Arrays.copy version is optimized for these native types?

Powered by Google App Engine
This is Rietveld 408576698