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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,e6c9800e35ccfeee X-Google-Attributes: gid103376,public From: "W. Wesley Groleau x4923" Subject: Re: GNAT: Performance of String functions Date: 1997/07/23 Message-ID: <33D678E6.6E23@pseserv3.fw.hac.com>#1/1 X-Deja-AN: 258437864 Sender: usenet@most.fw.hac.com (News Administration) X-Nntp-Posting-Host: sparc02 References: <5r1l6e$e0h$1@ratatosk.uio.no> <1997Jul22.071638.1@eisner> <33D4F30F.5299@online.no> <5r5cfh$irn$1@ratatosk.uio.no> <33D66563.3F86@link.com> Organization: Hughes Defense Communications Newsgroups: comp.lang.ada Date: 1997-07-23T00:00:00+00:00 List-Id: Samuel Mize wrote: > > Tarjei Jensen wrote: > > > I'd be delighted if it is possible to write a portable bounded > > string package > > that does not copy blindly on assignment. > > Here's what I understand you want: > > 1 .... to 5 .... Might also want "=" to work. > You can get all but 4 (normal assignment) with a limited variant > record with a discriminant (max length). If there are "unused bytes" that are not determined by a discriminant, then "=" may also have a problem (unless it is limited, in which case there is no ":=" either. -- ---------------------------------------------------------------------- Wes Groleau, Hughes Defense Communications, Fort Wayne, IN USA Senior Software Engineer - AFATDS Tool-smith Wanna-be Don't send advertisements to this domain unless asked! All disk space on fw.hac.com hosts belongs to either Hughes Defense Communications or the United States government. Using email to store YOUR advertising on them is trespassing! ----------------------------------------------------------------------