Optimize for performance