Thread: onwall and such
View Single Post
  #39  
Old 05-27-2006, 03:13 AM
jake13jake jake13jake is offline
Former Classic Staff
jake13jake's Avatar
Join Date: Dec 2002
Location: Northwest Vermont
Posts: 1,452
jake13jake will become famous soon enough
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.