Small optimizations with a big impact