commit | e7de678a2c108949856e3005fe62f43d49aad7ec | [log] [tgz] |
---|---|---|
author | verwaest <verwaest@chromium.org> | Thu Jun 09 15:12:41 2016 |
committer | Commit bot <commit-bot@chromium.org> | Thu Jun 09 15:14:55 2016 |
tree | 8b607c086a32afcb29379b79807e3a6506773649 | |
parent | 4fc1ea142da5051a9d6a3814e0b3e6dcfa4765ea [diff] |
Speed up adding literal chars when the buffer is known to be one-byte We have fast-paths in identifier and string scanning that know that so far they have only handled one-byte input. In that case, we can add chars to the literal buffer assuming that it's still in one-byte state, avoiding 2 branches. This seemingly reduces identifier scanning from ~5% to ~4% on octane-codeload. BUG= Review-Url: https://codereview.chromium.org/2044233004 Cr-Commit-Position: refs/heads/master@{#36868}
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.