Quote Originally Posted by wossname
Maybe it has something to do with the JIT?

Does it do it in both Debug and Release modes? Release Mode is compiled differently from debug, certain optimisations are added (like removing useless loops and so forth).
hmm not sure. Release mode didnt seem to change anything