Haven't tried it. I just know that when coding from scratch, I'd used StringBuilders. <div><br></div><div>And also, given I'm designing an app that will be used on the web by different users, I'd like to have it as fast as possible.</div>
<div><br></div><div>Chris</div><div><br><br><div class="gmail_quote">On 9 January 2011 13:35, DM Smith <span dir="ltr"><<a href="mailto:dmsmith@crosswire.org">dmsmith@crosswire.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Try a more recent copy. :)<br>
<br>
In Him,<br>
DM<br>
<br>
Cent from my fone so theer mite be tipos. ;)<br>
<div><div></div><div class="h5"><br>
On Jan 9, 2011, at 6:14 AM, Chris Burrell <<a href="mailto:chris@burrell.me.uk">chris@burrell.me.uk</a>> wrote:<br>
<br>
> Hi All<br>
><br>
> In my not-so-recent version of JSword I count 133 matches of StringBuffer and 0 matches to StringBuilder<br>
><br>
> 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.<br>
><br>
> Are there other reasons why we are using StringBuffer?<br>
> Chris<br>
><br>
</div></div><div><div></div><div class="h5">> _______________________________________________<br>
> jsword-devel mailing list<br>
> <a href="mailto:jsword-devel@crosswire.org">jsword-devel@crosswire.org</a><br>
> <a href="http://www.crosswire.org/mailman/listinfo/jsword-devel" target="_blank">http://www.crosswire.org/mailman/listinfo/jsword-devel</a><br>
</div></div></blockquote></div><br></div>