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.4 required=5.0 tests=AC_FROM_MANY_DOTS,BAYES_00 autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,5800bd3879e0759a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-12 08:30:07 PST Path: supernews.google.com!sn-xit-03!supernews.com!logbridge.uoregon.edu!isdnet!psinet-france!psiuk-f4!psiuk-p4!uknet!psiuk-n!news.pace.co.uk!nh.pace.co.uk!not-for-mail From: "Marin David Condic" Newsgroups: comp.lang.ada Subject: Re: Strings dynamic Date: Thu, 12 Apr 2001 11:03:34 -0400 Organization: Posted on a server owned by Pace Micro Technology plc Message-ID: <9b4g48$mjf$1@nh.pace.co.uk> References: <3AD4DB63.4136CD0A@worldnet.att.net> NNTP-Posting-Host: 136.170.200.133 X-Trace: nh.pace.co.uk 987087816 23151 136.170.200.133 (12 Apr 2001 15:03:36 GMT) X-Complaints-To: newsmaster@pace.co.uk NNTP-Posting-Date: 12 Apr 2001 15:03:36 GMT X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Xref: supernews.google.com comp.lang.ada:6821 Date: 2001-04-12T15:03:36+00:00 List-Id: While in a relative sense, unbounded strings are going to cost you some performance versus fixed length strings, it has been my experinece that on most of today's hardware and for most applications, it really doesn't matter. Unless you're doing some really intense string processing or you've got some really tough realtime requirements, you won't notice any performance difference. It would be a mistake to avoid using unbounded strings out of fear that it will make one's application run too slow. Go for the ease of use because the performance hit will not be perceptable in most situations. MDC -- Marin David Condic Senior Software Engineer Pace Micro Technology Americas www.pacemicro.com Enabling the digital revolution e-Mail: marin.condic@pacemicro.com Web: http://www.mcondic.com/ "James Rogers" wrote in message news:3AD4DB63.4136CD0A@worldnet.att.net... > g990406@zipi.fi.upm.es wrote: > If you want completely dynamic string handling, then use the > Ada.Strings.Unbounded package. This package give best flexibility, > but poorest performance due to dynamic memory allocation and > deallocation.