If Lua always stored all numeric keys in order, then there might be more opportunities to dream up efficient iterators, like a sort of `npairs`. I think I'm different, because i need to index values by arbitrary numbers (and need them in order) quite often, whereas everyone else is concerned only with sequences and their strict definition.
Can you describe this is more detail? I’m curious.