commit | 26f617f1bc63e2b28bd9ea5f2146ad3a6b57396f | [log] [tgz] |
---|---|---|
author | demoneaux <demoneaux@gmail.com> | Sat Feb 20 07:55:30 2016 |
committer | Commit bot <commit-bot@chromium.org> | Sat Feb 20 07:55:57 2016 |
tree | c436bf3555894cad4377fe724497ef15aaa3a731 | |
parent | 5990cd6affc8fb73c7cb9ab1033f3206da72f181 [diff] |
Optimize JSON stringifying when `replacer` and `space` are falsey. Most libraries use `JSON.stringify` with all three arguments [1] to allow for configuration, even if `replacer` and `space` are falsey, causing the optimized native stringifying to be missed. This commit allows for the common case where `replacer` and `space` are not used to be fast. [1]: https://github.com/hapijs/hapi/pull/3014 BUG=v8:4730 LOG=N R=yangguo@chromium.org Review URL: https://codereview.chromium.org/1710933002 Cr-Commit-Position: refs/heads/master@{#34174}
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.