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=-1.9 required=5.0 tests=BAYES_00 autolearn=ham autolearn_force=no version=3.4.4 X-Google-Thread: 103376,64b29dfa2220a59f X-Google-Attributes: gid103376,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit Path: g2news1.google.com!news1.google.com!news.glorb.com!wns13feed!worldnet.att.net!attbi_s22.POSTED!53ab2750!not-for-mail From: "Jeffrey R. Carter" User-Agent: Thunderbird 1.5.0.12 (Windows/20070509) MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Reserve_Capacity for Unbounded_String? References: <1185134043.892012.217560@n2g2000hse.googlegroups.com> In-Reply-To: <1185134043.892012.217560@n2g2000hse.googlegroups.com> Content-Type: text/plain; charset=ISO-8859-2; format=flowed Content-Transfer-Encoding: 7bit Message-ID: NNTP-Posting-Host: 12.201.97.213 X-Complaints-To: abuse@mchsi.com X-Trace: attbi_s22 1185164917 12.201.97.213 (Mon, 23 Jul 2007 04:28:37 GMT) NNTP-Posting-Date: Mon, 23 Jul 2007 04:28:37 GMT Organization: AT&T ASP.att.net Date: Mon, 23 Jul 2007 04:28:37 GMT Xref: g2news1.google.com comp.lang.ada:16540 Date: 2007-07-23T04:28:37+00:00 List-Id: Maciej Sobczak wrote: > Is this a reasonable approach if performance is of concern? No. If performance is a concern, you should probably not be using Ada.Strings.Unbounded, or any other general-purpose components. -- Jeff Carter "I'm a kike, a yid, a heebie, a hook nose! I'm Kosher, Mum! I'm a Red Sea pedestrian, and proud of it!" Monty Python's Life of Brian 77