memalloc
memalloc copied to clipboard
Heap linked list implementation
Added a linked list implementation - sorry to mess up some files:
- Renamed heap.c to heap_using_chunk_lists
- Added linked list implementation
- Totally decoupled implementation (previous PR left some coupling)
- Missing bits:
- This implementation is not "head safe" - you used the head node - you are done. Didn't go to those if else statements - also could allocate a space that is read only.
- Wanted to allocate all helper structs inside allocated heap - didn't go to that.
Overall thanks for super and inspiring video - it doesn't matter if you approve or not the PR - important thing is I learned a lot from you, and I really appreciate it.