lua-users home
lua-l archive

Re: Why Lua table pairs iteration doesn't hold the last key's position in Node[] ?

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


> why pairs doesn't return a C closure with an integer upvalue to hold
> the last key's position in Node[] ?
> I think this can be improved.
Certainly it could. Only note that this would demand a change in the C
API, too.
-- Roberto

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