Optimize getting diff of two variables.