Quote:
|
Originally Posted by ApothiX
Different compilers produce different results. It seems like Visual C was probably optimizing the == true check even when I turned optimizations off. Which is probably what the Graal Engine does aswell.
|
Yes, but you don't know whether or not the Graal engine does that, you can only guess. Isn't that what I was initially saying? It's certainly redundant in script, but the compiler may or may not interpret it with a redundancy check. When optimizing, your compiler removes the == true comparison. How kind of it.