comp.lang.ada
 help / color / mirror / Atom feed
From: "Pat Rogers" <progers@NOclasswideSPAM.com>
Subject: Re: access type question (maybe a little silly)
Date: 2000/10/20
Date: 2000-10-20T00:00:00+00:00	[thread overview]
Message-ID: <yGXH5.3445$PH.244178@nnrp2.sbc.net> (raw)
In-Reply-To: 8so92d$8a23@news.cis.okstate.edu

"David Starner" <dvdeug@x8b4e516e.dhcp.okstate.edu> 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.







  reply	other threads:[~2000-10-20  0:00 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-10-19  0:00 access type question (maybe a little silly) Carles
2000-10-19  0:00 ` Pat Rogers
2000-10-20  2:01   ` David Starner
2000-10-20  0:00     ` Pat Rogers [this message]
2000-10-20  0:00     ` Robert Dewar
2000-10-20  0:34 ` Ted Dennison
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox