Myth: Compilers optimizing based on undefined behavior is one of the biggest real world problems with C/C++. It’s actually nowhere near.
-
-
I agree. But tell that to compiler writers who recommend it, because the compiler can optimize it better.
-
I don’t think there are any optimizations useful for arrays that depend on signedness. The main optzn here is loop trip count detection.
- 1 more reply
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.