lua-users home
lua-l archive

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

This basically gets us back to the point that pairs should probably be
redefined to look for a __pairs metamethod.

This might make sense for ipairs as well though that case could also be
addressed by using an integer indexed get in place of the lua_rawgeti. For
efficiency, it might be necessary to introduce lua_geti.

For efficiency reasons, it seems less appealing to introduce a metamethod
for next.