File tree Expand file tree Collapse file tree 2 files changed +7
-2
lines changed
src/main/java/com/fasterxml/jackson/core/io Expand file tree Collapse file tree 2 files changed +7
-2
lines changed Original file line number Diff line number Diff line change @@ -14,6 +14,10 @@ JSON library.
14
14
= == Releases == =
15
15
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
16
16
17
+ (not yet released )
18
+
19
+ #712 : (partial ) Optimize array allocation by JsonStringEncoder
20
+
17
21
2.12 .4 (06 - Jul - 2021 )
18
22
19
23
#702 : `ArrayOutOfBoundException ` at `WriterBasedJsonGenerator .writeString (Reader , int )`
Original file line number Diff line number Diff line change @@ -30,8 +30,9 @@ public final class JsonStringEncoder
30
30
private final static int SURR2_FIRST = 0xDC00 ;
31
31
private final static int SURR2_LAST = 0xDFFF ;
32
32
33
- private final static int INITIAL_CHAR_BUFFER_SIZE = 120 ;
34
- private final static int INITIAL_BYTE_BUFFER_SIZE = 200 ;
33
+ // 18-Aug-2021, tatu: [core#712] use bit lower defaults for 2.11/2.12
34
+ private final static int INITIAL_CHAR_BUFFER_SIZE = 30 ;
35
+ private final static int INITIAL_BYTE_BUFFER_SIZE = 60 ;
35
36
36
37
/*
37
38
/**********************************************************************
You can’t perform that action at this time.
0 commit comments