|
-
May 12th, 2005, 07:52 PM
#1
Thread Starter
Frenzied Member
Which is worse?
Ok, I'm working with some Strings, and these Strings will get remade up to an infinite number of times, and I know that a new object is created each time.
So, which is worse..
Keep using the String, and have the value continously change, or
Use a StringBuffer, and continously delete the current text so that the upcoming read text can be the only thing in the StringBuffer.
I hope that makes sense!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|