title: Does the Lua compiler optimize local vars?
body: <p>Is the current Lua compiler smart enough to optimize away local variables that are used for clarity?</p>
  
  <pre><code>local top = x - y
  local bottom = x + y
  someCall(top, bottom)
  </code></pre>
  
  <p>Or does inlining things by hand run faster?</p>
  
  <pre><code>someCall(x - y, x + y)
  </code></pre>