4 ms·
By the time someone gets to the point where they are keeping pointers while reallocating the data structure that contains the objects, they have made a bunch of
by CyberDildonics 3y ago
By the time someone gets to the point where they are keeping pointers while reallocating the data structure that contains the objects, they have made a bunch of wrong turns already.
It is much better to use indices or keys instead of pointers since that is the interface to the data structure.