lua-users home
lua-l archive

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

Alexander Nasonov wrote:
> Pierre Chapuis wrote:
> > I know, it's not efficient. Another way to do it would be to have the
> > user explicitly mark lists as lists, for instance with a metatable,
> > and otherwise encode everything as hash tables.
> Have you seen how it's done in mplua?

I meant to reply privately to Pierre but I don't mind sharing this :)

Basically, that code relies on implementation details of Lua 5.1.
I don't know whether an implementation it's different in LuaJIT but
it's allowed to be different by the specs.