I always translated ipairs to mean indexedpairs so only ever use it for tables that I know were indexed 1 to #tab. For the most part I use pairs as most of my tables are indexed by name rather than a running counter.
If I use table.insert and I don't delete elements on the fly I use ipairs. Otherwise I would use pairs.
|