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

Issue 1408253004: Optimizie the insertion of an iterable. (Closed)

Created:
5 years, 1 month ago by Lasse Reichstein Nielsen
Modified:
5 years, 1 month ago
Reviewers:
nweiz, floitsch
CC:
reviews_dartlang.org, floitsch
Base URL:
https://github.com/dart-lang/typed_data.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Optimizie the insertion of an iterable. Avoids creating a list on the side, at the cost of an extra copying inside the typed-data buffer to move the data into place. R=floitsch@google.com, nweiz@google.com Committed: https://github.com/dart-lang/typed_data/commit/2578718e9415987016bd5a44a29279c7d684a903

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+54 lines, -8 lines) Patch
M CHANGELOG.md View 1 1 chunk +2 lines, -0 lines 0 comments Download
M lib/typed_buffers.dart View 2 chunks +51 lines, -7 lines 0 comments Download
M pubspec.yaml View 1 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 7 (2 generated)
Lasse Reichstein Nielsen
Well, it did annoy me enough to use a non-typed-data list as intermediate storage that ...
5 years, 1 month ago (2015-10-28 07:40:26 UTC) #2
floitsch
LGTM. https://codereview.chromium.org/1408253004/diff/1/lib/typed_buffers.dart File lib/typed_buffers.dart (right): https://codereview.chromium.org/1408253004/diff/1/lib/typed_buffers.dart#newcode147 lib/typed_buffers.dart:147: throw new RangeError.range(end, start, writeIndex, "end"); Add comment, ...
5 years, 1 month ago (2015-10-28 18:20:51 UTC) #4
nweiz
lgtm I released the previous change before I saw this one, so this should bump ...
5 years, 1 month ago (2015-10-28 21:43:30 UTC) #5
Lasse Reichstein Nielsen
Updated pubspec and changelog. https://codereview.chromium.org/1408253004/diff/1/lib/typed_buffers.dart File lib/typed_buffers.dart (right): https://codereview.chromium.org/1408253004/diff/1/lib/typed_buffers.dart#newcode107 lib/typed_buffers.dart:107: if (start == end) return; ...
5 years, 1 month ago (2015-10-29 09:24:42 UTC) #6
Lasse Reichstein Nielsen
5 years, 1 month ago (2015-10-29 09:25:09 UTC) #7
Message was sent while issue was closed.
Committed patchset #2 (id:20001) manually as
2578718e9415987016bd5a44a29279c7d684a903 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698