Re: Why intermediate objects?



On Thu, 22 Dec 2005 17:44:05 +0000, Thomas Hawtin
<usenet@xxxxxxxxxxxxxxxxx> wrote, quoted or indirectly quoted someone
who said :

>Doesn't javac produce code with StringBuilder if -target is 1.5+?

I just checked; it does. StringBuffer was thread safe, but that would
not buy you anything within a single method local.
--
Canadian Mind Products, Roedy Green.
http://mindprod.com Java custom programming, consulting and coaching.
.



Relevant Pages