Collection of bad coding practices
leave a comment »
Use StringBuilder rather then StringBuffer, unless synchronization is required. StringBuilder is not thread safe, and therefore avoids the synchronization overhead of StringBuffer.
(submitted by Robert J. Walker)
Written by Alex
August 22, 2008 at 4:07 am
Posted in Strings, Threads
Tagged with performance, Strings, Threads
Enter your email address to follow this blog and receive notifications of new posts by email.
Join 26 other followers
Blog at WordPress.com.