Skip to content

Heap linked list implementation #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 18 commits into
base: master
Choose a base branch
from

Conversation

memoz1981
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant