Some micro-optimizations with the static