Java 内存分配策略
ArrayList => +(old / 2) , init 10 , 15, 22,33,49,73
StringBuilder => +(old*2 + 2),init 16, 34, 79
CharArrayWriter => + 1,init 32,33,34,35,36.
ArrayList => +(old / 2) , init 10 , 15, 22,33,49,73
StringBuilder => +(old*2 + 2),init 16, 34, 79
CharArrayWriter => + 1,init 32,33,34,35,36.