3 ms·
The most dangerous thing I do is index a `std::vector` for which I can add range checking -- which I only do when debugging -- I am not willing to pay for that
by waynecochran 4y ago
The most dangerous thing I do is index a `std::vector` for which I can add range checking -- which I only do when debugging -- I am not willing to pay for that at release time. I am not performing any address math that can not be statically or else dynamically checked. No explicit memory allocation anywhere -- C++ does all the memory management for me. This is not true of older code I have written.