Hi All<div><br></div><div>In my not-so-recent version of JSword I count 133 matches of StringBuffer and 0 matches to StringBuilder</div><div><br></div><div>Str]ingBuilder is much faster, because it is not synchronised / thread-safe. So, everytime StringBuffer is declared in a local method, we can replace it by a StringBuilder. Since the instance will never be shared. If the instance is a instance of the object or a static instance at the top, then we can't touch it.</div>
<div><br></div><div>Are there other reasons why we are using StringBuffer?</div><div>Chris</div><div><br></div>