4 ms·
Linked list is useful when you are hurting for memory and need precision memory allocation, like in the kernel. You trade memory compactness for more operation
by ww520 4y ago
Linked list is useful when you are hurting for memory and need precision memory allocation, like in the kernel. You trade memory compactness for more operation time in dealing with its certain aspects.
- AstralStorm 4y agoAnd code size, let's not forget about that one. Plus you do not have a super smart memory allocator to prevent the hundreds of vectors from spraying the heap.