[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Proposal: Make creating large arrays faster and "allow" nils in arrays
- From: Sean Conner <sean@...>
- Date: Fri, 24 Jul 2020 21:14:25 -0400
It was thus said that the Great Philippe Verdy once stated:
> I tend to disagree. The "sequence" meaning does not imply that ipairs()
> enumerates only the array part.
You never bothered to even check the source code, did you? Because if you
did, you would see that the implementation returns an iterator that starts
with the number 1, and incrments the index on each pass until lua_geti()
returns LUA_TNIL.
-spc