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

Issue 26695002: Growable typed data buffers. (Closed)

Created:
7 years, 2 months ago by Lasse Reichstein Nielsen
Modified:
7 years, 1 month ago
Reviewers:
Cutch, sra1, floitsch
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Growable typed data buffers. Like growable lists, but with typed data. Added to package:collection_helpers. R=floitsch@google.com Committed: https://code.google.com/p/dart/source/detail?r=30396 Reverted: r30412 Committed: https://code.google.com/p/dart/source/detail?r=30514 Committed: https://code.google.com/p/dart/source/detail?r=30569

Patch Set 1 #

Total comments: 17

Patch Set 2 : Address comments. Tweaks. Add Int32x4Buffer. #

Patch Set 3 : Works on dart2js, as well as possible. #

Total comments: 15

Patch Set 4 : Addressed comments. #

Patch Set 5 : Update tests too. #

Patch Set 6 : Add missing <E> on setRange parameter. #

Patch Set 7 : Reapply reverted. #

Patch Set 8 : Mark firefox as failing. #

Patch Set 9 : Make type promotion work. #

Patch Set 10 : Mark Safari as failing. Cause unknown, but some numbers look very odd. #

Patch Set 11 : Reapply after revert #

Patch Set 12 : Don't expect failure on FF/Win since it's 32-bit. #

Patch Set 13 : Don't expect failure on FF/Win since it's 32-bit. #

Patch Set 14 : Don't expect failure on FF/Win since it's 32-bit. #

Patch Set 15 : Don't expect failure on FF/Win since it's 32-bit. #

Patch Set 16 : Don't expect failure on FF/Win since it's 32-bit. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+671 lines, -39 lines) Patch
pkg/collection_helpers/lib/all.dart View 1 2 3 4 5 6 1 chunk +3 lines, -1 line 0 comments Download
pkg/collection_helpers/lib/typed_buffers.dart View 1 2 3 4 5 6 7 8 1 chunk +235 lines, -0 lines 0 comments Download
pkg/collection_helpers/pubspec.yaml View 1 2 3 4 5 6 7 1 chunk +1 line, -1 line 0 comments Download
pkg/collection_helpers/test/typed_buffers_test.dart View 1 2 3 4 1 chunk +421 lines, -0 lines 0 comments Download
pkg/pkg.status View 1 2 3 4 5 6 7 8 9 10 11 4 chunks +10 lines, -0 lines 0 comments Download
tests/co19/co19-analyzer.status View 1 2 3 4 5 6 7 8 9 10 4 chunks +1 line, -37 lines 0 comments Download

Messages

Total messages: 13 (0 generated)
Lasse Reichstein Nielsen
7 years, 2 months ago (2013-10-09 14:33:44 UTC) #1
sra1
I have concerns with this library. 1. These classes implement interfaces that in JavaScript have ...
7 years, 2 months ago (2013-10-09 18:49:53 UTC) #2
Lasse Reichstein Nielsen
https://codereview.chromium.org/26695002/diff/1/pkg/collection_helpers/lib/typed_buffers.dart File pkg/collection_helpers/lib/typed_buffers.dart (right): https://codereview.chromium.org/26695002/diff/1/pkg/collection_helpers/lib/typed_buffers.dart#newcode36 pkg/collection_helpers/lib/typed_buffers.dart:36: if (index >= length) throw new RangeError.range(index, 0, length ...
7 years, 2 months ago (2013-10-10 05:54:41 UTC) #3
sra1
https://chromiumcodereview.appspot.com/26695002/diff/1/pkg/collection_helpers/lib/typed_buffers.dart File pkg/collection_helpers/lib/typed_buffers.dart (right): https://chromiumcodereview.appspot.com/26695002/diff/1/pkg/collection_helpers/lib/typed_buffers.dart#newcode36 pkg/collection_helpers/lib/typed_buffers.dart:36: if (index >= length) throw new RangeError.range(index, 0, length ...
7 years, 2 months ago (2013-10-15 02:11:40 UTC) #4
floitsch
LGTM once Stephen's concerns are addressed. You will probably have to update the status file ...
7 years, 2 months ago (2013-10-15 15:28:05 UTC) #5
Lasse Reichstein Nielsen
Addressed comments, added Int32x4Buffer. PTAL. https://codereview.chromium.org/26695002/diff/1/pkg/collection_helpers/lib/typed_buffers.dart File pkg/collection_helpers/lib/typed_buffers.dart (right): https://codereview.chromium.org/26695002/diff/1/pkg/collection_helpers/lib/typed_buffers.dart#newcode58 pkg/collection_helpers/lib/typed_buffers.dart:58: _buffer[i] = defaultValue; Yes, ...
7 years, 1 month ago (2013-11-18 14:32:51 UTC) #6
floitsch
LGTM. Please wait for Stephen. https://codereview.chromium.org/26695002/diff/31001/pkg/collection_helpers/lib/all.dart File pkg/collection_helpers/lib/all.dart (right): https://codereview.chromium.org/26695002/diff/31001/pkg/collection_helpers/lib/all.dart#newcode14 pkg/collection_helpers/lib/all.dart:14: * - `typed_bufers.dart`: Growable ...
7 years, 1 month ago (2013-11-18 18:03:40 UTC) #7
sra1
https://codereview.chromium.org/26695002/diff/31001/pkg/collection_helpers/lib/typed_buffers.dart File pkg/collection_helpers/lib/typed_buffers.dart (right): https://codereview.chromium.org/26695002/diff/31001/pkg/collection_helpers/lib/typed_buffers.dart#newcode22 pkg/collection_helpers/lib/typed_buffers.dart:22: implements TypedData, List<E> { Is it possible to do ...
7 years, 1 month ago (2013-11-18 22:16:35 UTC) #8
Lasse Reichstein Nielsen
https://codereview.chromium.org/26695002/diff/31001/pkg/collection_helpers/lib/all.dart File pkg/collection_helpers/lib/all.dart (right): https://codereview.chromium.org/26695002/diff/31001/pkg/collection_helpers/lib/all.dart#newcode14 pkg/collection_helpers/lib/all.dart:14: * - `typed_bufers.dart`: Growable typed data lists. Fixed. https://codereview.chromium.org/26695002/diff/31001/pkg/collection_helpers/lib/typed_buffers.dart ...
7 years, 1 month ago (2013-11-19 10:31:24 UTC) #9
Lasse Reichstein Nielsen
Committed patchset #6 manually as r30396 (presubmit successful).
7 years, 1 month ago (2013-11-19 11:32:51 UTC) #10
Lasse Reichstein Nielsen
Committed patchset #10 manually as r30514 (presubmit successful).
7 years, 1 month ago (2013-11-21 12:30:10 UTC) #11
Lasse Reichstein Nielsen
Revert commit
7 years, 1 month ago (2013-11-22 10:23:36 UTC) #12
Lasse Reichstein Nielsen
7 years, 1 month ago (2013-11-22 10:32:03 UTC) #13
Message was sent while issue was closed.
Committed patchset #16 manually as r30569 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698