lua-users home
lua-l archive

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


Interesting, but out of curiosity. Wouldn't debug.setmetatable(nil,{__index = {}}) be faster and arguably simpler? -- Thomas I guess not. Lua would then try to look up the key in the empty {} table, and fail

--
Oliver