3 ms·
> it's best to pre-allocate your memory and then hand out bits as needed through a custom allocator working on the pre-allocated set. Yes. For linked lists thi
by mytailorisrich 6y ago
> it's best to pre-allocate your memory and then hand out bits as needed through a custom allocator working on the pre-allocated set.
Yes. For linked lists this would typically mean creating a pool of objects to be allocated from the pool and returned to the pool as needed for operating the linked list.