Optimizations on the interpreter