lua-users home
lua-l archive

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


Luiz,

Would binding the metatable as an upvalue to the methods of a 'class' not be faster? You could skip the table lookup altogether, just get the metatable from argument 1 and compare it to the upvalue to determine 'class' membership.


--