Write a simple memory allocator Posted by mynameislegion on Tuesday August 09, 2016 @01:26AM from the arjunsreedharan.org dept. http://arjunsreedharan.org/post/148675821737/write-a-simple-memory-allocator ( 2 comments | 14 points | on HN )
You want to traverse the previously-freed blocks in case there was a block that you can fit the newly malloced/calloced/relloced block.