2 ms·
Because wanting the fastest code possible is a big reason to use C over some other language, and such aggressive optimizations that break incorrect code are how
by josephcsible 5y ago
Because wanting the fastest code possible is a big reason to use C over some other language, and such aggressive optimizations that break incorrect code are how you get the fastest code possible.
- userbinator 5y agoMy experience with ICC and MSVC contradict that, as well as with handwritten Asm. Instruction selection and scheduling matters far more than trying to be too clever with exploiting UB (and they will remove things like overflow checks, albeit they seem to prove more than assume.)