Subject: Re: malloc queries
To: Stuart Brooks <>
From: Jaromir Dolecek <>
List: tech-userlevel
Date: 06/07/2002 09:53:48
Stuart Brooks wrote:
> Thanks, is there any particular advantage to using one or the other?

I think historically, the libc version was very fast, but due to
used algorithm could use up larger amounts of memory if many small
pieces of memory were needed. gnumalloc was slow, but wasted much
less memory in this situation.

The libc malloc implementation has changed tho, and nowadays
wastes much less memory in such situation. And it's still (much?)
faster than gnumalloc (tho slower than the old malloc slightly).

Jaromir Dolecek <>
-=- We should be mindful of the potential goal, but as the tantric    -=-
-=- Buddhist masters say, ``You may notice during meditation that you -=-
-=- sometimes levitate or glow.   Do not let this distract you.''     -=-