StringBuilder or StringBuffer

1. StringBuffer is synchronized, StringBuilder is not.

2. See performance comparison.

原文地址:https://www.cnblogs.com/wade-case/p/4601375.html