It's not an optimization. An optimization is the transformation of a program into another program that has the same behaviour, but uses less resources. Your program does not have any defined behaviour, so you can't possibly apply any transformation to it that yields the same behaviour.