Java.PS

Java by Petr Sladek

[ About | Contact ]

StringBuilder or StringBuffer

StringBuffer is synchronized, StringBuilder is not.

StringBuilder is faster than StringBuffer because it’s not synchronized.

The speed-up for StringBuilder is probably about two times faster than StringBuffer.