-
Notifications
You must be signed in to change notification settings - Fork 31
Closed
Labels
arch: noneAffects common code across architecturesAffects common code across architecturesenhancementNew feature or requestNew feature or request
Milestone
Description
A heap memory manager will need to be implemented so that dynamic sizes of memory can be allocated and freed. One that I have implemented before uses a list of 'holes', each one having a header stating if it is occupied and what its size is. The allocator then goes through this list of holes and finds one with a size closest to the desired size. If it's too big then it splits the surplus off into a separate hole.
Of course there are many ways this can be done.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
arch: noneAffects common code across architecturesAffects common code across architecturesenhancementNew feature or requestNew feature or request