Name: krT82822 Date: 08/11/99
(see also 4092829 --kevin.ryan@eng, 8/11/99)
Every modification to StringBuffer is synchronized, to make it
thread safe. If a large string is being built from many small
pieces, this can be a significant CPU drain. I have yet to
encounter a situation where I am modifying a StringBuffer from
multiple threads, so I would very much like a class just like
StringBuffer that didn't synchronize.
It would be nice if such a class was included in the java.lang
package.
(Review ID: 93768)
======================================================================
|