mirror of
https://github.com/dart-lang/sdk
synced 2024-09-15 23:19:47 +00:00
06ebf884db
This CL adds tree shaking transformation into TFA transformer, replacing simple DropMethodBodiesVisitor. In addition to removing bodies of unreachable members, tree shaker is able to remove unused classes, typedefs and member declarations, and replace unreachable calls with 'throw'. Total(CodeSize) of flutter_gallery in --release mode before: 11,671,369 after: 11,499,694 https://github.com/dart-lang/sdk/issues/30480 Change-Id: I966cf222eb9725b7a75dd193ac479436b9b9b4c3 Reviewed-on: https://dart-review.googlesource.com/46942 Commit-Queue: Alexander Markov <alexmarkov@google.com> Reviewed-by: Vyacheslav Egorov <vegorov@google.com> |
||
---|---|---|
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 | ||
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.