commit | 808dc8cff3f6530a627ade106cbd814d16a10a18 | [log] [tgz] |
---|---|---|
author | Camillo Bruni <cbruni@chromium.org> | Wed Oct 04 11:38:34 2017 |
committer | Commit Bot <commit-bot@chromium.org> | Wed Oct 04 13:06:49 2017 |
tree | cee28bfdaf3f4e06ded9bda61ff56c111a614000 | |
parent | ec489f39c14203c031c206a5b8b6c05f8ba26d98 [diff] |
Support fast-path Function.prototype.bind for bound function This CL speeds up a common pattern found in the React framework: function f(a, b, c) { ... }; let f_bound = f.bind(this, 1); let f_bound2 = f_bound(this, 2); This CL yields roughly a 15x improvement for rebinding a bound function. Change-Id: I4d8580a5bce422af411148bc6b3e4eb287fac9ce Reviewed-on: https://chromium-review.googlesource.com/695206 Commit-Queue: Camillo Bruni <cbruni@chromium.org> Reviewed-by: Jakob Kummerow <jkummerow@chromium.org> Cr-Commit-Position: refs/heads/master@{#48283}
V8 is Google's open source JavaScript engine.
V8 implements ECMAScript as specified in ECMA-262.
V8 is written in C++ and is used in Google Chrome, the open source browser from Google.
V8 can run standalone, or can be embedded into any C++ application.
V8 Project page: https://github.com/v8/v8/wiki
Checkout depot tools, and run
fetch v8
This will checkout V8 into the directory v8
and fetch all of its dependencies. To stay up to date, run
git pull origin gclient sync
For fetching all branches, add the following into your remote configuration in .git/config
:
fetch = +refs/branch-heads/*:refs/remotes/branch-heads/* fetch = +refs/tags/*:refs/tags/*
Please follow the instructions mentioned on the V8 wiki.