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,5c51cff2651b47f4 X-Google-Attributes: gid103376,public From: "Pat Rogers" Subject: Re: access type question (maybe a little silly) Date: 2000/10/20 Message-ID: #1/1 X-Deja-AN: 683787986 References: <8so92d$8a23@news.cis.okstate.edu> X-Priority: 3 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.3018.1300 X-Complaints-To: abuse@swbell.net X-Trace: nnrp2.sbc.net 972048158 208.191.184.67 (Fri, 20 Oct 2000 08:22:38 CDT) Organization: SBC Internet Services X-MSMail-Priority: Normal NNTP-Posting-Date: Fri, 20 Oct 2000 08:22:38 CDT Newsgroups: comp.lang.ada Date: 2000-10-20T00:00:00+00:00 List-Id: "David Starner" wrote in message news:8so92d$8a23@news.cis.okstate.edu... > On Thu, 19 Oct 2000 20:09:33 -0500, Pat Rogers wrote: > >If you're running an application that executes for a very long time, > >then you might want to do the reclamation. If you're running a > >desktop, one-off, short-lived application, then it probably won't be > >worth the effort. > > I've never seen a program big enough to need access types that wasn't > worth it to try and collect it. Depends on what you're writing. In the last twenty years I've written many Ada desktop programs that didn't need to bother with reclamation. Many were allocator-intensive. > I have, on the other hand, seen several > small programs become quite a nuiscence by eating up hundreds of megabytes > of memory in seconds. If you've got a program that inputs files, remember > that the next guy will try to load a 100 MB picture/a half gig of mp3s/ > the collected works of Shakespeare through your program. But that wouldn't be a "one-off" program.