Quote:
|
Originally Posted by jake13jake
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.
|
It may be a redundancy in the script for you, but for some people it improves readability. Also, I am quite aware that the Graal Engine does have optimizations done on scripts, which means that both cases would work out to the same thing (exactly what I have been saying all along.)