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,386228a37afe967f X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2003-07-21 09:15:56 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!headwall.stanford.edu!newshub.sdsu.edu!elnk-nf2-pas!newsfeed.earthlink.net!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!freenix!enst.fr!beeblebrox!nobody From: Samuel Tardieu Newsgroups: comp.lang.ada Subject: Re: Computer Language Shootout Date: Mon, 21 Jul 2003 18:14:16 +0200 Organization: Avian Carrier & Friends Message-ID: <87r84j26xz.fsf@inf.enst.fr> References: <1ec946d1.0307150715.4ba69f85@posting.google.com> <3F149243.80304@attbi.com> <3F15930C.2070907@attbi.com> <87k7aeqfcf.fsf@inf.enst.fr> <3F19E1BB.5000908@attbi.com> <87n0f9poyc.fsf@inf.enst.fr> <3F1A98F4.3090304@attbi.com> <87r84lt987.fsf@inf.enst.fr> <3F1B1AE9.8040409@attbi.com> <87el0kth5w.fsf@inf.enst.fr> <1058798392.73480@master.nyc.kbcfp.com> <87k7abj43f.fsf@inf.enst.fr> <1058802389.227844@master.nyc.kbcfp.com> NNTP-Posting-Host: willow.enst.fr Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: avanie.enst.fr 1058804077 19159 137.194.161.3 (21 Jul 2003 16:14:37 GMT) X-Complaints-To: usenet@enst.fr NNTP-Posting-Date: Mon, 21 Jul 2003 16:14:37 +0000 (UTC) Mail-Copies-To: sam@rfc1149.net User-Agent: Gnus/5.090007 (Oort Gnus v0.07) XEmacs/21.5 (cauliflower, i386--freebsd) Cancel-Lock: sha1:9h09/abaSL5w/2iAMLWOY3V5Gww= X-Leafnode-NNTP-Posting-Host: 127.0.0.1 Xref: archiver1.google.com comp.lang.ada:40564 Date: 2003-07-21T18:14:16+02:00 List-Id: >>>>> "Hyman" == Hyman Rosen writes: Hyman> I have had the experience of needing to run text utilities on Hyman> an ordinary text file which happened to have lines which were Hyman> several hundred thousand characters long. No utility author Hyman> would ever have specified such a large limit. If the author had allocated his strings on the stack rather than doing it explicitely himself (look at the code, I bet that it called realloc() a lot of time while processing long lines), the program had surely crashed. I am not for arbitrary limits. I am for responsive (and user-controlled) allocation of dynamic memory. Sam -- Samuel Tardieu -- sam@rfc1149.net -- http://www.rfc1149.net/sam