Skip to content

Commit c5d1fcf

Browse files
Increased SCRATCH buffer to 64KiB
1 parent 90e0dc0 commit c5d1fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bin/generate-defs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ println('var encodeTable = codec.encodeTable;');
124124
println('var decodeFields = codec.decodeFields;');
125125
nl();
126126

127-
println('var SCRATCH = Buffer.alloc(16384);');
127+
println('var SCRATCH = Buffer.alloc(65536);');
128128
println('var EMPTY_OBJECT = Object.freeze({});');
129129

130130
println('module.exports.constants = %s',

0 commit comments

Comments
 (0)