Find a file
Jens Johansen 47e9039512 Don't encode strings up front; don't toString uris
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>
2018-05-02 07:42:40 +00:00
.github Add an issue template to the SDK 2018-04-05 13:05:09 +00:00
build [infra] Use a relative path for the Linux sysroot 2018-04-18 21:14:23 +00:00
client Remove old annotated_steps buildbot scripts and dispatcher 2017-05-23 16:17:02 +02:00
docs Fixed a couple of typos in subtyping.md 2018-04-13 05:59:02 +00:00
pkg Don't encode strings up front; don't toString uris 2018-05-02 07:42:40 +00:00
runtime Fix build breakages 2018-05-02 01:03:48 +00:00
samples [infra] Keep comments intact when updating status files. 2018-04-10 19:03:21 +00:00
samples-dev Strong mode update for swarm 2018-05-01 21:25:34 +00:00
sdk Support js-interop classes that implement generic types in Dart 2 2018-05-01 08:37:11 +00:00
tests Update co19 status 2018-05-02 07:13:41 +00:00
third_party [infra] Keep comments intact when updating status files. 2018-04-10 19:03:21 +00:00
tools [infra] Upgrade checked in SDKs to 2.0.0-dev.52.0 2018-05-01 19:30:44 +00:00
utils [build] Remove unnecessary inputs from uses of application_snapshot. 2018-04-16 21:13:09 +00:00
.clang-format VM: Re-format to use at most one newline between functions 2017-07-13 08:08:37 -07:00
.gitattributes Avoid crash on EOF error in file with Windows line encoding 2018-04-09 12:16:20 +00:00
.gitignore Git ignore vscode project files. 2017-03-23 15:26:06 -07:00
.gn Starting work on full GN build 2016-09-23 07:47:36 -07:00
.mailmap Add .mailmap file. 2015-05-18 19:33:16 +02:00
.packages Readd web-components: it is used for unit tests of dart:html 2018-04-03 20:13:19 +00:00
AUTHORS Add Cristian Almstrand to AUTHORS 2015-07-16 09:51:56 -07:00
BUILD.gn [gn] Propagate outputs up to //create_sdk. 2018-04-24 16:03:45 +00:00
CHANGELOG.md [release] Move DDC sync-async flip to correct section in the release notes 2018-05-01 16:32:31 +00:00
codereview.settings Update codereview.settings to Gerrit (dart-review.googlesource.com) 2017-09-04 12:52:09 +00:00
dartdoc_options.yaml Update dartdoc to v0.18.0 and tag library categories. 2018-03-27 16:19:34 +00:00
DEPS Roll dart_style to 1.0.12. 2018-05-01 00:05:21 +00:00
LICENSE Remove the Dromaeo and TodoMVC samples. 2016-01-11 13:09:26 -08:00
PATENTS
PRESUBMIT.py Move new tests from tests/isolate to tests/lib_2/isolate. 2018-02-22 10:03:23 +00:00
README.dart-sdk remove docgen from the sdk 2015-09-18 13:18:10 -07:00
README.md [gardening] Whitespace change to trigger bots. 2017-04-28 10:08:58 -07:00
WATCHLISTS Creates a watchlist for sdk/lib/_http and adds me to it 2018-01-02 18:39:53 +00:00

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.

License & patents

See LICENSE and PATENTS.