Skip to content

Commit 4dc7371

Browse files
committed
change Encoder's DEFAULT_INITIAL_BUFFER_SIZE to be 2048
1 parent efa75be commit 4dc7371

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Encoder.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import { ExtData } from "./ExtData";
66
import { WASM_AVAILABLE, utf8EncodeWasm, WASM_STR_THRESHOLD } from "./wasmFunctions";
77

88
export const DEFAULT_MAX_DEPTH = 100;
9-
export const DEFAULT_INITIAL_BUFFER_SIZE = 1024;
9+
export const DEFAULT_INITIAL_BUFFER_SIZE = 2048;
1010

1111
export class Encoder {
1212
private pos = 0;

0 commit comments

Comments
 (0)