title: is it more efficient to use multiple if statements or one with lots of else ifs after it?
body: <p>As an example of lots of <code>if</code>s and many <code>else if</code> after one <code>if</code> at the start. I have added some pseudo code below.</p>
  
  <pre><code>if (x=1)
    print x;
  if (x=2)
    print x;
  if (x=3)
    print x;
  </code></pre>
  
  <p>Or</p>
  
  <pre><code>if (x=1)
    print x;
  else if (x=2)
    print x;
  else if (x=3)
    print x;
  </code></pre>