3 ms·
Doug Lea's dlmalloc implementation is the basis for GCC's ptmalloc, IIRC. His writeup on the topic is a wonderful read; and for the code itself, it is beautiful
by ignoramous 12y ago
Doug Lea's dlmalloc implementation is the basis for GCC's ptmalloc, IIRC. His writeup on the topic is a wonderful read; and for the code itself, it is beautifully organised and well commented.
http://g.oswego.edu/dl/html/malloc.html http://g.oswego.edu/dl/html/malloc.html
- deleted 12y ago[deleted]