tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mikolaj Rydzewski <m...@ceti.pl>
Subject Re: tomcat memory usage questions
Date Tue, 03 Oct 2006 14:04:16 GMT
Robert Harper wrote:
> Another thing to think about is if you are doing a
> lot of string concatenation the StringBuffer object is much better to use
> than the String object. StringBuffer will be easier on memory and more
> efficient.
>   
Unless you concatenate strings in multiple threads it's better to use 
StringBuilder.

-- 
Mikolaj Rydzewski <miki@ceti.pl>


Mime
View raw message