[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: malloc/free
From: |
Petter Reinholdtsen |
Subject: |
Re: malloc/free |
Date: |
Thu, 31 Aug 2006 14:50:09 +0200 |
User-agent: |
Gnus/5.1006 (Gnus v5.10.6) Emacs/21.4 (usg-unix-v) |
[Amit Choudhary]
> Why can’t the malloc and free of glibc be fixed once and for all so
> that hundreds of thousands of hours can be used to develop some
> other applications.
I believe the argument used to not introduce extra debug features into
the default malloc() implementation is to avoid the performance
overhead associated with it. But I do not know.
After all, it is fairly easy to use valgrind and similar to debug
applications for those that want to do that, and those interested in
the raw speed can get that from the default implementation. :)
Friendly,
--
Petter Reinholdtsen