Path: csiph.com!x330-a1.tempe.blueboxinc.net!usenet.pasdenom.info!aioe.org!eternal-september.org!feeder.eternal-september.org!.POSTED!not-for-mail From: Eric Sosman Newsgroups: comp.lang.java.programmer Subject: Re: baseline performance test using java ... Date: Sun, 03 Jul 2011 14:08:35 -0400 Organization: A noiseless patient Spider Lines: 21 Message-ID: References: <1309715588.716395@nntp.aceinnovative.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Injection-Date: Sun, 3 Jul 2011 18:09:12 +0000 (UTC) Injection-Info: mx04.eternal-september.org; posting-host="BrOwaJANne849xlH+KPYjQ"; logging-data="4967"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1/kR5h2qmBTFalUr4xaZD5M" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.18) Gecko/20110616 Thunderbird/3.1.11 In-Reply-To: <1309715588.716395@nntp.aceinnovative.com> Cancel-Lock: sha1:nV8owCv7+HvdnJjyeg5ni3bdTqI= Xref: x330-a1.tempe.blueboxinc.net comp.lang.java.programmer:5833 On 7/3/2011 1:53 PM, lbrt chx _ gemale kom wrote: >> Somebody (attribution recklessly snipped) wrote: >>> Somebody else (another attribution recklessly snipped) wrote: >>> [...] >>> ~ We have all learned we should avoid String(s) and use >>> StringBuffer(s) or better yet StringBuilder(s) but there is > ~ >> Er, no. Strings are great ... > ~ > I (obviously) meant to say String(s) if you need to build them and > StringBuilder(s) if you are working (most of us by now) on some > multiprocessing core If there's any sense in this remark, it's buried too deeply for me. The only relevance of "multiprocessing core" would seem to be in the ability to run multiple threads simultaneously, but if you're using a StringBuilder from multiple threads you've already blundered. -- Eric Sosman esosman@ieee-dot-org.invalid