lua-users home
lua-l archive

Re: Deterministic table iteration

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


On 2/8/2013 1:57 PM, Henk Boom wrote:
Isn't the iteration order of ipairs always deterministic, regardless of how you've used the table? Both the source code and documentation seem to suggest this. henk
The order of the results returned is always the same, but the set of results you get could vary. If you have holes in your list, that set is no longer defined.
Tim

AltStyle によって変換されたページ (->オリジナル) /