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-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,2d76c4749a82ef0b X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-10-24 17:46:47 PST Path: archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!stamper.news.pas.earthlink.net!newsread4.news.pas.earthlink.net.POSTED!a6202946!not-for-mail From: Jeffrey Carter Organization: jrcarter commercial-at acm [period | full stop] org User-Agent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 X-Accept-Language: en-us, en MIME-Version: 1.0 Newsgroups: comp.lang.ada Subject: Re: Strings Fixed, Bounded, and Counted. Performance Inquiry. References: In-Reply-To: Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Message-ID: Date: Sat, 25 Oct 2003 00:46:46 GMT NNTP-Posting-Host: 63.184.17.236 X-Complaints-To: abuse@earthlink.net X-Trace: newsread4.news.pas.earthlink.net 1067042806 63.184.17.236 (Fri, 24 Oct 2003 17:46:46 PDT) NNTP-Posting-Date: Fri, 24 Oct 2003 17:46:46 PDT Xref: archiver1.google.com comp.lang.ada:1635 Date: 2003-10-25T00:46:46+00:00 List-Id: Freejack wrote: > i.e. The first element of the String is a number indicating the length of > the string. No null terminators needed. > A bit more flexible than Fixed strings, a heck of a lot faster than Null > terminated strings. Not sure how they stack up to Bounded strings. How would you implement Bounded_String? I think you'll find it's what you're calling a counted string. -- Jeff Carter "We use a large, vibrating egg." Annie Hall 44