3 ms·
Last time I actually needed to do this, I allocated memory in larger chunks instead, and made a linked list of those chunks. The number of situations where thi
by Andys 16y ago
Last time I actually needed to do this, I allocated memory in larger chunks instead, and made a linked list of those chunks.
The number of situations where this particular solution is the best solution is really small!
- leif 16y agoThe name for this is an "Unrolled linked list," in the same semantic fashion as an unrolled loop. Congratulations!