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,571930b4ff0bc1ee X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-04-02 07:30:01 PST Path: supernews.google.com!sn-xit-03!supernews.com!cyclone-sf.pbi.net!209.81.14.120!feeder.via.net!headwall.stanford.edu!newsfeed.stanford.edu!feed.textport.net!newsranger.com!www.newsranger.com!not-for-mail Newsgroups: comp.lang.ada From: Ted Dennison Sender: usenet@www.newsranger.com References: <3AC03CCE.70E3C2D5@mida.se> Subject: Re: Compile time executed functions Message-ID: Date: Mon, 02 Apr 2001 14:26:49 GMT NNTP-Posting-Host: 209.208.22.130 X-Complaints-To: abuse@newsranger.com X-Trace: www.newsranger.com 986221609 209.208.22.130 (Mon, 02 Apr 2001 10:26:49 EDT) NNTP-Posting-Date: Mon, 02 Apr 2001 10:26:49 EDT Organization: http://www.newsranger.com Xref: supernews.google.com comp.lang.ada:6343 Date: 2001-04-02T14:26:49+00:00 List-Id: In article , Robert A Duff says... > >Ted Dennison writes: > >> True. I'd think most developers would rather make some attempt to put >> a reasonable limit on the for loop (eg: the maximum possible nodes in >> a list, or something), rather than an arbitrary one. > >But the max length of a list is something like "the size of the address >space". Anything less is a bug. Not nessecarily. It depends on the data being listed. For instance, if the list is a list of players on a soccer team, 30 would probably be more than enough (at least for the teams with which I'm acquainted, pro teams may need a bit more, but certianly no more than 100 or so). --- T.E.D. homepage - http://www.telepath.com/dennison/Ted/TED.html home email - mailto:dennison@telepath.com