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 .
3 files changed
tree: 8f5084abd6084d5f6bde92b2ae8e9c3d28a0fa1d
  1. lib/
  2. test/
  3. .gitignore
  4. .test_config
  5. AUTHORS
  6. CHANGELOG.md
  7. codereview.settings
  8. CONTRIBUTING.md
  9. LICENSE
  10. pubspec.yaml
  11. README.md
README.md

Helper libraries for working with typed data lists.

The typed_data package contains utility functions and classes that makes working with typed data lists easier.

Using

The typed_data package can be imported as

import 'package:typed_data/typed_data.dart';

Typed buffers: Growable typed data lists

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.

Features and bugs

Please file feature requests and bugs at the issue tracker.