4 ms·
And so you get an optimal, but broken, program. This helps nobody.
And so you get an optimal, but broken, program. This helps nobody.
It helps everyone whose input does not cause undefined behavior.
in most cases a program that invokes undefined behavior is already broken; it's just a question of how catastrophic the failure will be.