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.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,c7ec20d43aed6e2c X-Google-Attributes: gid103376,public From: Charles Hixson Subject: Another Newbie in distress :-) Date: 1999/10/28 Message-ID: <38188F8E.C3CCBFA4@mail.earthlink.net>#1/1 X-Deja-AN: 541731233 Content-Transfer-Encoding: 7bit References: <7urnh6$4ov$1@news2.inter.net.il> <7usf0h$du2$1@ash.prod.itd.earthlink.net> <38128122_1@news1.prserv.net> <19991024.4074369@db3.max5.com> X-Accept-Language: en X-Posted-Path-Was: not-for-mail Content-Type: text/plain; charset=us-ascii X-ELN-Date: 28 Oct 1999 18:01:42 GMT X-ELN-Insert-Date: Thu Oct 28 11:05:03 1999 Organization: MTC Mime-Version: 1.0 Newsgroups: comp.lang.ada Date: 1999-10-28T00:00:00+00:00 List-Id: Those are nice distinction. I'm going to check the differences in implementation between heterogeneous and homogeneous. But the one that bothers me is "Storage Pools". Intuitively a storage pool is essentially a block of storage that is allocated and freed, however... If I remember my spec's correctly, anything that is declared in the package declaration exists permanently from the time that the package in called. This means that the reference to the storage pool would never get freed. Or it means that I don't understand what a storage pool is (likely). I really don't want to go around implementing garbage collectors. Reference counters won't collect networks (trees, ok, lattices, ok, but not networks). The only thing that looks like it would do the job is mark and sweep, but that's much better when done inside the language. Storage pools might be able to do the job, but they would need to release their storage when the last external reference disappeared. If they don't, then I get a viscious memory leak. I've seen several references to storage pools, but haven't found a good source of info. David Botton wrote: > May also be found at: > > Heterogeneous, Reference-Counted Lists (Heaney) > http://www.adapower.com/alg/hetroref.html > > Homogeneous, Reference-Counted Lists (Heaney) > http://www.adapower.com/alg/homoref.html > > > Use the search engine to find "list" in the subject line. The article > > was titled "homogeneous lists", or something like that.