Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(210)

Issue 1186503003: Wrap program into (function(){ <prog> })() instead of !function...(). (Closed)

Created:
5 years, 6 months ago by floitsch
Modified:
5 years, 6 months ago
Reviewers:
herhut
CC:
reviews_dartlang.org
Base URL:
git@github.com:dart-lang/sdk.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Wrap program into (function(){ <prog> })() instead of !function...(). V8 is much faster with the parenthesis (*5). R=herhut@google.com Committed: https://github.com/dart-lang/sdk/commit/93c9fc6faea2f7c27ec8ec2bdbd38e7c5791681a

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+2 lines, -2 lines) Patch
M pkg/compiler/lib/src/js_emitter/new_emitter/model_emitter.dart View 2 chunks +2 lines, -2 lines 0 comments Download

Messages

Total messages: 4 (1 generated)
floitsch
5 years, 6 months ago (2015-06-17 14:42:02 UTC) #2
herhut
lgtm
5 years, 6 months ago (2015-06-18 07:43:28 UTC) #3
floitsch
5 years, 6 months ago (2015-06-18 09:34:39 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
93c9fc6faea2f7c27ec8ec2bdbd38e7c5791681a (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698