3 ms·
This is one of the main reason you should use indices instead of pointers to store references to other objects (regardless of if you’re using Rust or C++): memo
by cyber_kinetist 4y ago
This is one of the main reason you should use indices instead of pointers to store references to other objects (regardless of if you’re using Rust or C++): memory safety. Indices can be bound-checked, pointers can’t.