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-13 13:05:04 PST Path: archiver1.google.com!news1.google.com!newsfeed.stanford.edu!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!dispose.news.demon.net!news.demon.co.uk!demon!pogner.demon.co.uk!zap!not-for-mail From: Simon Wright Newsgroups: comp.lang.ada Subject: Re: List container: Insert and Delete Date: 13 Nov 2001 07:31:05 +0000 Organization: Pushface Message-ID: References: <9sn4qm$13g29j$2@ID-25716.news.dfncis.de> <9sok8i$142am0$2@ID-25716.news.dfncis.de> <3BF004F4.F74AE461@boeing.com> <9sp5up$g5o$1@nh.pace.co.uk> NNTP-Posting-Host: localhost X-NNTP-Posting-Host: pogner.demon.co.uk:158.152.70.98 X-Trace: news.demon.co.uk 1005685485 nnrp-14:20493 NO-IDENT pogner.demon.co.uk:158.152.70.98 X-Complaints-To: abuse@demon.net NNTP-Posting-Date: 13 Nov 2001 07:31:05 GMT X-Newsreader: Gnus v5.7/Emacs 20.7 Xref: archiver1.google.com comp.lang.ada:16454 Date: 2001-11-13T07:31:05+00:00 List-Id: Kilgallen@SpamCop.net (Larry Kilgallen) writes: > Is_Full (List) is appropriate for some applications, but others > require How_Full (List). While that is particularly meaningful > for Bounded lists, it should be present for Unbounded lists to > provide compatibility. > > But do people expect a Bounded list implementation will allocate > a full list to the maximum size in all cases ? If so, then the > Unbounded list implementation might have a meaningful How_Full (List) > answer related to the total address space available. > > If one is managing multiple lists in the same address space, > learning How_Full is important for balancing resource usage > between the lists (in cases where the application can control > its appetites). The BCs return Natural'Last to the question "how many slots are available in this unbounded container?". I dunno, no one expects Ada.Text_IO to have special functionality to help you with managing your disk space!