Is CONSTANT.equals(VARIABLE) faster than VARIABLE.equals(CONSTANT)?
<p>I had an interesting conversation with one of my team mate.</p>

<p>Is <code>CONSTANT.equals(VARIABLE)</code> faster than <code>VARIABLE.equals(CONSTANT)</code>in Java?</p>

<p>I suspect this to be a false statement. But I am trying to figure out what should be qualitative reasoning behind this?</p>

<p>I know in both the cases the performance will not differ to any kind of significant state. But it was a recommendation under BEST PRACTICES which is making me uncomfortable. That's the reason I am looking towards a good reasoning that I want to present with this case. </p>

<p>Please HELP </p>
