title: It is more efficient to use if-return-return or if-else-return?
body: <p>Suppose I have an <code>if</code> statement with a <code>return</code>. From the efficiency perspective, should I use</p>
  
  <pre><code>if(A &gt; B):
      return A+1
  return A-1
  </code></pre>
  
  <p>or</p>
  
  <pre><code>if(A &gt; B):
      return A+1
  else:
      return A-1
  </code></pre>
  
  <p>Should I prefer one or another when using a compiled language (C) or a scripted one (Python)?</p>