4 ms·
Well if we were making an all-new C-like language, we could just add a compiler directive which prevents optimization for cases like this. For all I know, othe
by Grishnakh 10y ago
Well if we were making an all-new C-like language, we could just add a compiler directive which prevents optimization for cases like this.
For all I know, other languages may do just this (there's a comment farther down about Rust which appears to say this).