File tree 2 files changed +6
-3
lines changed
src/main/java/com/fasterxml/jackson/core/io
2 files changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -14,7 +14,9 @@ JSON library.
14
14
= == Releases == =
15
15
-- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- --
16
16
17
- 2.12 .0 (not yet released )
17
+ (not yet released )
18
+
19
+ #712 : (partial ) Optimize array allocation by JsonStringEncoder
18
20
19
21
2.11 .4 (12 - Dec - 2020 )
20
22
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