4 ms·
There are side effects, but in real world, not abstract
by hardware2win 3y ago
There are side effects, but in real world, not abstract
- thfuran 3y agoNo, that code has no side effects. The implementation is free to produce whatever side effects it wants or needs as part of execution, but that is absolutely none of the compiler's business.
- dkersten 3y agoSo non-obvious side effects? You can say that about any code at all, so no optimising would ever be possible. The program running faster is a side effect after all.