lua-users home
lua-l archive

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

Tim Conkling wrote:
If I know that a given table will never have a metatable associated with it, is there a significant speed advantage to calling the "raw" table functions rather than gettable and settable?

No... in fact I believe that rawget/rawset are actually slower
in practice because they incur a function call overhead; 'normal'
get/set have their own specialized vm opcodes.

Adam D. Moss   . ,,^^   co:3