A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
video training course this week in the
Joined: Nov 08, 2001
Jun 10, 2008 07:56:00
It is know that building strings with += is bad practice since it is slow and we should be using Arrays with join.
Does anyone know where the performance gain begins. [Like the
in C# sees gains starting around 10 concats]
I plan on running some tests later on today. I was hoping someone had some insight.
Author and ninkuma
Joined: Jan 10, 2002
Jun 10, 2008 09:16:00
I've never done any tests myself. I figure with everything else that is going on, any performance difference would just be noise unless you are talking on the scale of hundreds or thousands.
Asking smart questions
Books by Bear
I agree. Here's the link:
subject: String concatenation
JSF for part 1
difference between JAXRPC and SOAP
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015