memalloc icon indicating copy to clipboard operation
memalloc copied to clipboard

Heap linked list implementation

Open memoz1981 opened this issue 1 year ago • 0 comments

Added a linked list implementation - sorry to mess up some files:

  1. Renamed heap.c to heap_using_chunk_lists
  2. Added linked list implementation
  3. Totally decoupled implementation (previous PR left some coupling)
  4. 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.

memoz1981 avatar Apr 06 '24 05:04 memoz1981