Every story and comment from the Hacker News API, in a layout borrowed from 2001.
A comment on Write a simple memory allocator.
You want to traverse the previously-freed blocks in case there was a block that you can fit the newly malloced/calloced/relloced block.
There are no comments on this comment yet.
You want to traverse the previously-freed blocks in case there was a block that you can fit the newly malloced/calloced/relloced block.