google-code-export / morphia

Automatically exported from code.google.com/p/morphia
1 stars 0 forks source link

Replace StringBuffers with StringBuilders #285

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
This is a minor issue but a very easily fixable one. I went over the source 
code of Morphia and seems like StringBuffers are used everywhere even though 
there's no need for synchronization. I think they all can be safely changed to 
StringBuilders. That should cut down on the amount of synchronizations in the 
framework and boost the overall performance in some cases.

See http://stackoverflow.com/questions/355089/stringbuilder-and-stringb...

Original issue reported on code.google.com by Drew.Kut...@gmail.com on 16 Jun 2011 at 10:53