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,789b3fa522bdcc2a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-04-02 11:03:30 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!logbridge.uoregon.edu!arclight.uoregon.edu!wn13feed!wn12feed!worldnet.att.net!204.127.198.203!attbi_feed3!attbi.com!sccrnsc02.POSTED!not-for-mail From: tmoran@acm.org Newsgroups: comp.lang.ada Subject: Re: Optimising string handling in application References: <1049267738.39983@edh3> X-Newsreader: Tom's custom newsreader Message-ID: <5uGia.304058$L1.86794@sccrnsc02> NNTP-Posting-Host: 12.234.13.56 X-Complaints-To: abuse@attbi.com X-Trace: sccrnsc02 1049310209 12.234.13.56 (Wed, 02 Apr 2003 19:03:29 GMT) NNTP-Posting-Date: Wed, 02 Apr 2003 19:03:29 GMT Organization: AT&T Broadband Date: Wed, 02 Apr 2003 19:03:29 GMT Xref: archiver1.google.com comp.lang.ada:35898 Date: 2003-04-02T19:03:29+00:00 List-Id: > Follow-up question: Is it safe to asume that strings _allways_ > start with 'First = 1 (provided the (sub)type starts with 1) except when > passing slices where 'First = start_of_slice? Luckily, you needn't assume anything. There are specific rules about the value of 'first. If those rules, in some particular case, don't *guarantee* that 'first=1, then you can't "assume" that 'first=1.