This is the mail archive of the libc-alpha@sources.redhat.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: malloc



blackdragon@tyler.net writes:

> why is malloc so bloody slow? some programs (including perl) carry their
> own malloc to evade this

It should be noted that the Perl malloc is not really intended
to evade the glibc malloc, but slow mallocs on other systems,
which can be a lot slower than the glibc malloc.

(I suspect inclusion of a malloc implementation in Perl predates 
any port of Perl to glibc ... it certainly predates the current
malloc implementation in glibc by a whole lot.)

AFAIK, almost everybody uses the system malloc when compiling Perl
on Linux and other glibc platforms.
 
Regards,
                                        Owen


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]