3 ms·
The term you are looking for is pointer stability. It can be a useful property, but you can also get it storing pointers in a vector. That would often be faster
by sagarm 5y ago
The term you are looking for is pointer stability. It can be a useful property, but you can also get it storing pointers in a vector. That would often be faster in practice than a linked list.