mirror of
https://github.com/dart-lang/sdk
synced 2024-09-05 00:13:50 +00:00
![]() Change kernel serialization so that a) We don't UTF8 encode strings up front, but only as needed (if nothing else it makes it more obvious where the cost of stuff is) b) Don't call toString on URIs to save them in a StringIndexer, only to parse the string later to get a URI back again. This shaves a bit of the serialization time. Timings from running `flutter test` in flutter/packages/flutter: Without change: ``` 02:14 +2438 ~18: All tests passed! 02:12 +2438 ~18: All tests passed! 02:14 +2438 ~18: All tests passed! ``` with change: ``` 02:10 +2438 ~18: All tests passed! 02:11 +2438 ~18: All tests passed! 02:09 +2438 ~18: All tests passed! ``` => -2.5% +/- 1.83615% Change-Id: I03e651bbef23445fb1901452a4efcc732789a168 Reviewed-on: https://dart-review.googlesource.com/51302 Commit-Queue: Jens Johansen <jensj@google.com> Reviewed-by: Kevin Millikin <kmillikin@google.com> |
||
---|---|---|
.github | ||
build | ||
client | ||
docs | ||
pkg | ||
runtime | ||
samples | ||
samples-dev | ||
sdk | ||
tests | ||
third_party | ||
tools | ||
utils | ||
.clang-format | ||
.gitattributes | ||
.gitignore | ||
.gn | ||
.mailmap | ||
.packages | ||
AUTHORS | ||
BUILD.gn | ||
CHANGELOG.md | ||
codereview.settings | ||
dartdoc_options.yaml | ||
DEPS | ||
LICENSE | ||
PATENTS | ||
PRESUBMIT.py | ||
README.dart-sdk | ||
README.md | ||
WATCHLISTS |
Dart
Dart is an open-source, scalable programming language, with robust libraries and runtimes, for building web, server, and mobile apps.
Using Dart
Visit the dartlang.org to learn more about the language, tools, getting started, and more.
Browse pub.dartlang.org for more packages and libraries contributed by the community and the Dart team.
Building Dart
If you want to build Dart yourself, here is a guide to getting the source, preparing your machine to build the SDK, and building.
There are more documents on our wiki.
Contributing to Dart
The easiest way to contribute to Dart is to file issues.
You can also contribute patches, as described in Contributing.