issues
search
mtrebi
/
memory-allocators
Custom memory allocators in C++ to improve the performance of dynamic memory allocation
MIT License
1.75k
stars
160
forks
source link
freelist allcoator bugfix
#23
Open
niu2x
opened
3 years ago
niu2x
commented
3 years ago
when allocate memory: if rest < sizeof(Node), it should not insert to free list.
when free memory: if free list head is nullptr, we should set head ptr.
when free memory: free node ptr should offset padding bytes.