Performance optimizations for view_models