title: Performance: assign boolean value always or check value first?
body: <p>I'm sure it is negligible, but given that I want to assign <code>true</code> to a boolean field from within a method, does this choice make any difference? If so, why?</p>
  
  <pre><code>field = true; // could already be true, but I don't care
  </code></pre>
  
  <p>versus</p>
  
  <pre><code>if(!field) field = true;
  </code></pre>