3 ms·
You can store your 'list items' in an array and still link to random items in the array - although an index instead of a pointer would make more sense in that c
by flohofwoe 3y ago
You can store your 'list items' in an array and still link to random items in the array - although an index instead of a pointer would make more sense in that case, but what else is an index than a pointer with fewer bits ;) The main advantage being that you don't need to alloc/free individual items.