lua-users home
lua-l archive

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

> PS: Looking at luaV_[sg]ettable, the interpretation of the different
> types of table metamethods (table/function/...) is IMHO a little
> bit strange anyway...

We were trying to inline some parts of luaV_gettable, because in several
places we know details that luaV_gettable must rediscover by itself
(e.g., OP_GETGLOBAL knows for sure that the "table" is really a table,
and that the index is a string). But the result is not very pretty :-(
(it's still an alpha version...)

-- Roberto