diff options
author | Florian Frank <flori@ping.de> | 2011-11-23 01:02:01 +0100 |
---|---|---|
committer | Florian Frank <flori@ping.de> | 2011-11-23 01:02:01 +0100 |
commit | 3c7ba7f2a73223b83febaaa0396bd2920adb0c11 (patch) | |
tree | 047f70df8c836c48791c2f4adcf85dced934d959 /lib | |
parent | 70bcd0f0ebef2808aa65d59ac77560a6fff6e5c5 (diff) | |
download | json-3c7ba7f2a73223b83febaaa0396bd2920adb0c11.tar.gz |
Extract fbuffer and use it in parser and generator
Diffstat (limited to 'lib')
-rw-r--r-- | lib/json/pure/generator.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/json/pure/generator.rb b/lib/json/pure/generator.rb index baa94d8..9141ae5 100644 --- a/lib/json/pure/generator.rb +++ b/lib/json/pure/generator.rb @@ -144,7 +144,7 @@ module JSON @allow_nan = false @ascii_only = false @quirks_mode = false - @buffer_initial_length = 4096 + @buffer_initial_length = 1024 configure opts end |