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

The malloc in glibc is not slow.  It has a number of features:
- thread safe
- allows debugging
- has internal checks

which other mallocs do not have and therefore might be faster.

But what I'm most interested in is actually data where glibc's malloc
is really slow.  Please show us an example, otherwise any such
discussion is void,

Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.inka.de
    http://www.suse.de/~aj


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