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,a644fa9cd1a3869a X-Google-Attributes: gid103376,public X-Google-ArrivalTime: 2001-11-23 20:01:12 PST Path: archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!130.133.1.3!fu-berlin.de!uni-berlin.de!ppp-1-12.cvx5.telinco.NET!not-for-mail From: "Nick Roberts" Newsgroups: comp.lang.ada Subject: Re: List container strawman 1.2 Date: Sat, 24 Nov 2001 03:52:15 -0000 Message-ID: <9tn626$3orlm$1@ID-25716.news.dfncis.de> References: <3BECA3B7.5020702@telepath.com><3BF0247D.4500975E@san.rr.com><5BXH7.22252$xS6.34813@www.newsranger.com><3BF052D3.ECEF3FF2@san.rr.com><3BF19FF8.7FE097EF@boeing.com><3BF27410.C899A16B@brighton.ac.uk><3BF3EDE5.FE0ED701@brighton.ac.uk> <700ht9.6k1.ln@127.0.0.1> <9tht9a$2j1ni$1@ID-25716.news.dfncis.de> <3BFCC54E.8632A515@brighton.ac.uk> NNTP-Posting-Host: ppp-1-12.cvx5.telinco.net (212.1.152.12) X-Trace: fu-berlin.de 1006574471 3960502 212.1.152.12 (16 [25716]) X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Xref: archiver1.google.com comp.lang.ada:16923 Date: 2001-11-24T03:52:15+00:00 List-Id: Hooray! My revised proposal (version 5) is on my web site at: http://www.adaos.ukf.net "John English" wrote in message news:3BFCC54E.8632A515@brighton.ac.uk... > ... > but I'm less happy about the > rationale for having a limited number of them inside the list type. > ... > you don't end up with the overhead of unused iterators clogging up > every list you create; For unbounded lists, you can have up to 255 cursors. They are (able to be) dynamically allocated (from 'heap'). > IMHO, the iterators should be a separate type so that you can use > them like any other type (pass them as parameters, etc.); Are you confusing iterators with 'pointers' (I call them 'cursors')? I'm going to add a set of iteration packages to my proposal as soon as I can (in which an iterator will be a separate type). -- Best wishes, Nick Roberts