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,9c0f2ad38cef26ed X-Google-Attributes: gid103376,public From: mab@dst17.wdl.loral.com (Mark A Biggar) Subject: Re: Garbage collection (was a spinoff of a spinoff of a GA diatribe) Date: 1996/10/23 Message-ID: <54lg65$5lc@wdl1.wdl.lmco.com>#1/1 X-Deja-AN: 191518415 references: <9610152135.AA13753@most> <54kk6g$is6$1@goanna.cs.rmit.EDU.AU> organization: Loral Western Development Labs newsgroups: comp.lang.ada Date: 1996-10-23T00:00:00+00:00 List-Id: In article <54kk6g$is6$1@goanna.cs.rmit.EDU.AU> ok@goanna.cs.rmit.EDU.AU (Richard A. O'Keefe) writes: >"W. Wesley Groleau (Wes)" writes: >>Explicit use of the heap for non-composite objects is not often done--why >>would you? > >Because you don't *know* it's non-composite. >Ada supports information hiding, remember? Would not a simple hueristic like "if its 'SIZE < 64 put it on the stack, otherwise the heap" handle this problem reasonably well? -- Mark Biggar mab@wdl.lmco.com