Re: what about an special QA package priority?
On Wed, May 21, 2008 at 08:43:19AM -0500, Ron Johnson wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> On 05/20/08 23:11, Bernd Eckenfels wrote:
> > In article <[🔎] 483389AD.email@example.com> you wrote:
> >> even though it's "just" a command line utility. Who knows what
> >> weird, unexpected side effects there might be from running such an
> >> app within a tight bash loop.
> > none*. And not cleaning up yourself also improves performance for short
> > running apps.
> How so?
The cleanup is pointless and takes CPU time. Consider a program that
does a lot of malloc()s which it uses until it exits. If it really
wants to cleanup, it needs to free() every single one which means
updating memory allocation structures for every single block of memory
that gets freed.
And all that for nothing, as the process's whole memory space gets
unmapped on exit no matter its contents (including the state of the
malloc implementation's allocation management structures).
Andreas Bombe <firstname.lastname@example.org> GPG key 0x04880A44