This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: malloc
- To: blackdragon at tyler dot net
- Subject: Re: malloc
- From: Owen Taylor <otaylor at redhat dot com>
- Date: 09 Sep 2001 22:55:31 -0400
- Cc: libc-alpha at sources dot redhat dot com
- References: <3B9A770C.E2F50CD6@tyler.net>
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