ShmuelFine / COOP

The C Object Oriented Programming Library
MIT License
32 stars 4 forks source link

5. Make memory management without pre allocated blocks #17

Closed ShmuelFine closed 1 year ago

ShmuelFine commented 2 years ago

Currently, the memory management statically pre-allocates a certain amount of "blocks" Which is not efficient - we might need much less, or much more, and using a hard coded number does not make sense. you can make a memory management mechanism without it. try to find out how does the malloc and free functions work in C for inspiration.