mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 12:24:24 +00:00
No description
62e9d05668
Compile-time constant values are maintained in a cache, keyed by script and token position. When the same code is compiled again later, e.g. by the optimizing compiler, the value is found in the cache and does not need to be computed again. In this version, the key is a string concatenated from the script url and the token position. That’s probably more overhead than we want. Added two compiler stat counters for number of cached constants and number of cache hits. Running dart2js to compile a hello world program results in about 1400 cached values and 85 cache hits. BUG= R=srdjan@google.com Review URL: https://codereview.chromium.org//1308073005 . |
||
---|---|---|
client | ||
docs/language | ||
pkg | ||
runtime | ||
samples | ||
samples-dev | ||
sdk | ||
site/try | ||
tests | ||
third_party | ||
tools | ||
utils | ||
.gitattributes | ||
.gitignore | ||
.mailmap | ||
AUTHORS | ||
CHANGELOG.md | ||
codereview.settings | ||
create_sdk.gyp | ||
dart.gyp | ||
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
Learn how to get the source and prepare your machine to build the SDK.
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.
License
See LICENSE.