optimized expressions when operator applied on literals