title: Is "IF" expensive?
body: <p>I can't, for the life of me, remember what exactly our teacher said that day and I'm hoping you would probably know.</p>
  
  <p>The module is "Data Structures and Algorithms" and he told us something along the lines of:</p>
  
  <blockquote>
    <p>The <code>if</code> statement is the most expensive
    [something]. [something] registers
    [something].</p>
  </blockquote>
  
  <p>Yes, I do have a horrible memory and I'm really really sorry, but I've been googling for hours and nothing has come up. Any ideas?</p>