closed #5099: Optimization for Value