mirror of
https://github.com/dart-lang/sdk
synced 2024-07-21 02:14:37 +00:00
![]() Use `U16List` instead of `Uint16List` as the character buffer type. Access the Wasm array directly when writing characters and converting the final buffer to a String. This avoids bounds checks and uses `array.copy` when allocating the final string. Change-Id: I570494e8349adc7a268544544516c9947abc8604 Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/371681 Reviewed-by: Martin Kustermann <kustermann@google.com> Commit-Queue: Ömer Ağacan <omersa@google.com> |
||
---|---|---|
.. | ||
bin | ||
lib | ||
.gitignore | ||
api_readme.md | ||
BUILD.gn | ||
OWNERS |