micro-optimizations