Java 1.5 and String operators
Thursday, October 28th, 2004Java 1.5 changed the implementation of StringBuffer and introduced a new StringBuilder (actually both inherit from AbstractStringBuilder). It looks + operator can be either compiled to use StringBuffer (slower, but synchronized) or StringBuilder (faster, thread unsafe). (more…)