Most of those optimizations are likely to cause more harm than good. You won't see any speed increase especially on modern hardware. The only optimization that does have a visible result is the array bounds check and even then you will only see the benefit if you are using multiple nested loops within multi-dimensional arrays. It shouldn't eat too much of your time to compile the program without optimizations and see how it goes.