title: Should I use ipairs or a for loop
body: <p>I have read that the use of ipairs is slow compared to a for loop, should I change my programming habit? I'll be using lua 5.2 one day, currently 5.1.</p>
  
  <p>My arrays are approximately 1000 items at most.</p>
  
  <pre><code>local mytbl = { 'a','b','c','e'}
  for i,v in ipairs(mytbl) do
    print(i,v)
  end
  
  for i=1,#mytbl do
    print(i,mytbl[i])
  end
  </code></pre>