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

Unified Diff: src/json-parser.h

Issue 1123013002: Reduce the size of initial JSON string buffer. (Closed) Base URL: https://chromium.googlesource.com/v8/v8.git@master
Patch Set: Created 5 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/json-parser.h
diff --git a/src/json-parser.h b/src/json-parser.h
index 39d9c38b44c7e8a7775b21fd1da581409c912ed0..54c78414804c20ef0f48f3f539eb24bb1790ae8d 100644
--- a/src/json-parser.h
+++ b/src/json-parser.h
@@ -180,7 +180,7 @@ class JsonParser BASE_EMBEDDED {
inline Factory* factory() { return factory_; }
inline Handle<JSFunction> object_constructor() { return object_constructor_; }
- static const int kInitialSpecialStringLength = 1024;
+ static const int kInitialSpecialStringLength = 32;
static const int kPretenureTreshold = 100 * 1024;
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698