lua-users home
lua-l archive

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


On Mon, Sep 9, 2013 at 5:20 PM, Miles Bader <miles@gnu.org> wrote:
> It never occurred to me to try integer keys (or rawgeti), but as that
> presents additional issues (e.g., one must come up with a system to
> assign small-integer keys without conflicts)

Lua provides that mechanism built-in -- consult luaL_ref.

/s/ Adam