From c5d1fcf68555e9e8b4c480914961eeb8c5e27e75 Mon Sep 17 00:00:00 2001 From: Timothy Watson Date: Mon, 18 Nov 2019 09:06:47 +0000 Subject: [PATCH] Increased SCRATCH buffer to 64KiB --- bin/generate-defs.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/generate-defs.js b/bin/generate-defs.js index a80f1f88..af984a00 100644 --- a/bin/generate-defs.js +++ b/bin/generate-defs.js @@ -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',