Mail Archives: djgpp/1997/10/30/09:44:38
On Thu, 30 Oct 1997, John Machin wrote:
> Allocators which don't split/coalesce free blocks can break
> down if the program allocates a large number of blocks of size x,
> frees them, allocates/frees ditto sizes y,z, etc (where x,y,z etc
> belong in different power-of-two buckets) --- unrealistic? No, e.g.
> program == text editor, x == average len of source file line, y ==
> average len of record in data file1,...
Could you please write a test program along these lines, or find such
a program written by somebody else? It would be interesting to compare
the two malloc's with such a program. Thanks.
- Raw text -