Hey Guys,

I noticed that Open BlueDragon minimum JVM is 1.5 now and I was thinking 
about some basic performance increases that I think should be tested and 
if proven successful be rolled in.

The biggest change is java.util.StringBuffer to 
java.util.StringBuilder.  StringBuffer methods are all synchronized 
where StringBuilder methods they are not.  I did a quick search and it 
looks like StringBuilder could be used in most areas as thread-safety is 
usually not an issue -- especially in things like com.nary.uti.string 
utility or list functions.  I found over 130 places in the Open BD code 
base where the older StringBuffer is used.  Since StringBuilder is a 
drop in replacement for StringBuffer when synchronization is not 
required, I think some significant performance gains in certain 
functions could be made.

I'd be happy to test and do simple bench marks on my personal machine if 
people think this is a worthy path to explore.  I guess I'm looking for 
thoughts on this from somebody on the committee -- don't want to waste 
my time or anybody else's time if has already been explored or not a 
good idea for some reason that I'm not aware of.

Thoughts?

Best,
.Peter



--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to