From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=0.1 required=5.0 tests=BAYES_05,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,f868292008c639ce X-Google-Attributes: gid103376,public From: Geoff Bull Subject: Re: C vs. Ada - strings Date: 2000/05/19 Message-ID: <3924B730.AFB52C1C@acenet.com.au>#1/1 X-Deja-AN: 625258290 Content-Transfer-Encoding: 7bit References: <390F0D93.F835FAD9@ftw.rsc.raytheon.com> <8en5o9$ihe$1@nnrp1.deja.com> <8eonos$e70$1@wanadoo.fr> <1fIU4.4668$Rx3.250161@typhoon.nyroc.rr.com> X-Accept-Language: en Content-Type: text/plain; charset=us-ascii X-Complaints-To: abuse@telstra.net X-Trace: nsw.nnrp.telstra.net 958707708 203.35.118.1 (Fri, 19 May 2000 13:41:48 EST) Organization: Customer of Telstra Big Pond Direct MIME-Version: 1.0 NNTP-Posting-Date: Fri, 19 May 2000 13:41:48 EST Newsgroups: comp.lang.ada Date: 2000-05-19T00:00:00+00:00 List-Id: Pete wrote: > java strings are much better. Only some aspects are better, many are much worse! E.g., they're horribly slow, especially if you need to change them - since they're immutable you have to create a new one. (Being immutable allows getting substrings to be fast, among other things). A StringBuffer only partially solves this problem.