Optimize view performance