|
Re: null string concatenation: msg#00162java.vm.kaffe.general
Hi Ito, thanks for taking the time to look into it. Ito Kazumitsu wrote: Hi, I'd say that StringBuffer is better in general, if it can be used in multiple '+' invocations, without creating temporary Sting objects. You only need to allocate the buffer once per expression. It may be possible to optimise it further by using a single StringBuffer per method employing '+' on Strings, and clearing it before each expression using + on Strings. But using String.concat() is simpler, and leads to more understandable code ;) cheers, dalibor topic
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | null string concatenation, Ito Kazumitsu |
|---|---|
| Next by Date: | Re: Kaffe for Debain on IA-64, Dalibor Topic |
| Previous by Thread: | Re: null string concatenation, Arnaud Vandyck |
| Next by Thread: | Graphics for ChessApplet, Urban Avierfjärd |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |