Skip to content

Commit

Permalink
Merge pull request #545 from twatson83/master
Browse files Browse the repository at this point in the history
Increased SCRATCH buffer to 64KiB
  • Loading branch information
squaremo authored Nov 20, 2019
2 parents 90e0dc0 + c5d1fcf commit 84ad503
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/generate-defs.js
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ println('var encodeTable = codec.encodeTable;');
println('var decodeFields = codec.decodeFields;');
nl();

println('var SCRATCH = Buffer.alloc(16384);');
println('var SCRATCH = Buffer.alloc(65536);');
println('var EMPTY_OBJECT = Object.freeze({});');

println('module.exports.constants = %s',
Expand Down

0 comments on commit 84ad503

Please sign in to comment.