commit | 2578718e9415987016bd5a44a29279c7d684a903 | [log] [tgz] |
---|---|---|
author | Lasse R.H. Nielsen <lrn@google.com> | Thu Oct 29 10:25:05 2015 +0100 |
committer | Lasse R.H. Nielsen <lrn@google.com> | Thu Oct 29 10:25:05 2015 +0100 |
tree | 8f5084abd6084d5f6bde92b2ae8e9c3d28a0fa1d | |
parent | 4a1eb49d4f2576044d71f2dd6c3f8e619f6678a9 [diff] |
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 Review URL: https://codereview.chromium.org//1408253004 .
The typed_data
package contains utility functions and classes that makes working with typed data lists easier.
The typed_data
package can be imported as
import 'package:typed_data/typed_data.dart';
Typed buffers are contains growable lists backed by typed arrays. These are similar to the growable lists returned by new List()
, but stores typed data like a typed data list.
Please file feature requests and bugs at the issue tracker.