Small compiler performance optimization