[Bug classpath/21869] We should to use StringBuilder instead of StringBuffer where appropriate.

ian dot rogers at manchester dot ac dot uk gcc-bugzilla@gcc.gnu.org
Thu Feb 7 12:10:00 GMT 2008



------- Comment #4 from ian dot rogers at manchester dot ac dot uk  2008-02-07 12:10 -------
There are two improvements described here:

1) avoid synchronization by the use of StringBuilder rather than StringBuffer

this is some what trivial and has largely been carried out in the Classpath
code base

2) switch to using a GCJ style string buffer that avoids copies

this is still awaiting action


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=21869



More information about the Java-prs mailing list