public class ExploringStringBuilder { public static void main(String[] args) { StringBuilder sb = new StringBuilder("Hello"); sb.append(", Cadets!"); System.out ...
In #93, we implement StringBuilder/StringBuffer serialization by converting to/from java.lang.String, which have some copy cost. A better solution is tackle inner data structure to avoid this copy.