Mail Archives: djgpp/1993/05/07/23:57:41
> I guess that the original poster's example (few very big blocks) is the
> counter example when the "tradional" approach works better. The GNU or BSD
> method is far superior when a large number of varying size but relatively
> small structures are allocated/freed in random order.
I've never seen a C compiler with a library which let you select the malloc
algorithm which best fit your task. Sometimes I'd like to add my own routines,
but you never know whether some other library routines depend on the details
of the memory allocator.
- Raw text -