Skip to content
This repository was archived by the owner on Oct 23, 2024. It is now read-only.

Commit c102243

Browse files
committed
change JSONScanner default buf size to 16k.
1 parent 7dd9f89 commit c102243

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/alibaba/fastjson/parser/JSONReaderScanner.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public JSONReaderScanner(Reader reader, int features){
6464
}
6565

6666
if (buf == null) {
67-
buf = new char[1024 * 8];
67+
buf = new char[1024 * 16];
6868
}
6969

7070
try {

0 commit comments

Comments
 (0)