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.3 required=5.0 tests=BAYES_00, REPLYTO_WITHOUT_TO_CC autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,794c64d1f9164710 X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2002-02-25 20:37:59 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!supernews.com!216.227.56.88.MISMATCH!DirecTVinternet!DirecTV-DSL!hub1.nntpserver.com!headwall.stanford.edu!unlnews.unl.edu!newsfeed.ksu.edu!nntp.ksu.edu!news.okstate.edu!not-for-mail From: David Starner Newsgroups: comp.lang.ada Subject: Re: functions, packages & characters Date: 26 Feb 2002 03:30:49 GMT Organization: Oklahoma State University Message-ID: References: <20020221130715.12738.00000034@mb-bg.aol.com> <3C753C66.8020509@mail.com> Reply-To: starner@okstate.edu NNTP-Posting-Host: x8b4e51a7.dhcp.okstate.edu User-Agent: slrn/0.9.7.3 (Linux) Xref: archiver1.google.com comp.lang.ada:20436 Date: 2002-02-26T03:30:49+00:00 List-Id: On Mon, 25 Feb 2002 13:37:51 -0600, Randy Brukardt wrote: > I thought I said that if you make the buffer large enough, it wouldn't > be so slow -- but it also would require a large buffer for many > applications (if it didn't, there would be little reason to use > unbounded strings in the first place). Why? I can think of many cases where the normal case may be 40-50 characters, but for robustness, you need the possibility of handling lines 1500 characters long. Nobody's really concerned about the speed of the long case, so long as the the normal case is handled correctly, but the long case should be handled for robustness and generality. -- David Starner - starner@okstate.edu What we've got is a blue-light special on truth. It's the hottest thing with the youth. -- Information Society, "Peace and Love, Inc."