5 ms·
I think that's a question of an "insufficiently smart compiler" rather than necessarily something the programmer should be concerned about?
by andrewaylett 5y ago
I think that's a question of an "insufficiently smart compiler" rather than necessarily something the programmer should be concerned about?
- Koshkin 5y agoThe programmer should certainly be concerned about the compiler being insufficiently smart.
- steveklabnik 5y agoNo, it is a language semantics issue. You can get the compiler to optimize it away today, if you're careful. But that's a bad user experience. You should be able to specifically request this semantic, and be sure it works.