asiva@google.com f7ccafc340 Use a proper closure instead of a 'close your eyes' style closure
for setting up '_printClosure'.

This avoid the startup cost of looking up types 'window', 'console'
and 'HTMLDocument' types when we try to setup _printClosure.
On a nexus 4 device the change results in the following time changes:

Before the change:
I/Dartium (25903):     createIsolate before printClosure setting 155.318 ms
I/Dartium (25903):     createIsolate after printClosure setting 403.052 ms


After the Change:
I/Dartium (26537):     createIsolate before printClosure setting 157.058 ms
I/Dartium (26537):     createIsolate after printClosure setting 162.918 ms

R=rmacnak@google.com, vsm@google.com

Review URL: https://codereview.chromium.org//312653004

git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@36943 260f80e4-7a28-3924-810f-c04153c831b5
2014-06-03 21:09:07 +00:00
2014-06-03 17:14:59 +00:00
2014-03-31 17:09:00 +00:00
2013-08-21 11:02:39 +00:00
2014-03-12 23:09:53 +00:00

This is the repository of the Dart programming language and its associated
tools, libraries, and samples.

For license information, please see LICENSE.

You can find more about Dart online at http://dartlang.org or
http://code.google.com/p/dart.

Here's a brief guide to what's in here:

editor/        Eclipse-based standalone Dart IDE.
lib/           Libraries that ship with the Dart runtime (core, html, etc.).
pkg/           Packages that are not shipped with the core runtime.
runtime/       Dart VM and code for running it as a standalone app.
samples/       Sample Dart programs. 
tests/         Automated tests.
third_party/   External dependencies.
tools/         Build scripts, text editor support files, etc.
utils/         Utilities for Dart applications.
S
Description
No description provided
Readme BSD-3-Clause 1.4 GiB
Languages
Dart 84.6%
C++ 13%
Python 0.7%
JavaScript 0.5%
HTML 0.4%
Other 0.5%