Age | Commit message (Collapse) | Author | |
---|---|---|---|
2003-12-30 | Rework malloc. The new default implementation is based on dlmalloc from Doug | Eric Andersen | |
Lea. It is about 2x faster than the old malloc-930716, and behave itself much better -- it will properly release memory back to the system, and it uses a combination of brk() for small allocations and mmap() for larger allocations. -Erik | |||
2002-08-07 | Per suggestion from Miles Bader, move calloc.c to libc/stdlib. | Eric Andersen | |
Also, Manuel notices that I forgot to check for when nmemb=0, which would result in a segfault, so fix that case as well. -Erik |