Various execution time optimizations