4 ms·
Linked lists are often used as a "secondary" structure, i.e intrusively linked lists of objects that whose main references come from elsewhere. Just wondering,
by kzrdude 4y ago
Linked lists are often used as a "secondary" structure, i.e intrusively linked lists of objects that whose main references come from elsewhere. Just wondering, are there any alternative solutions to those kinds of cases?
- thinkharderdev 4y agoWouldn't that just be a vector of pointers?
- deleted 4y ago[deleted]
- kzrdude 4y agoSelf-answer but in Linux the "XArray" has been developed and maybe that can be an actual answer to my question: https://www.kernel.org/doc/html/latest/core-api/xarray.html https://www.kernel.org/doc/html/latest/core-api/xarray.html