memalloc icon indicating copy to clipboard operation
memalloc copied to clipboard

Artifacts of that Memory Management Tsoding Session

Results 4 memalloc issues
Sort by recently updated
recently updated
newest added

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...

Hi (Privet). I watched your youtube video, which is very interesting. Would want to try to implement the heap allocation management using linked list or tree. For this raising this...

https://github.com/tsoding/memalloc/blob/f17f6e826c92d265614ab6d6f6a63dc8731720cf/heap.c#L17 should not this be `.size = HEAP_CAP_WORDS` ? All other comparisons of `chunk.size` in the code are against WORDS, not bytes. Example: `const size_t tail_size_words = chunk.size - size_words;`...