|
On 5/16/2014 4:18 PM, Andrew Starks wrote: <snip/>
Test it yourself: debug.setmetable(nil, { __index = nil}) Then the `.` operator will behave like ? I'm curious for the results.-Andrew
This code doesn't work for me on a vanilla Lua 5.2 interpreter. The following code does:
debug.setmetatable(nil, { __index = function() end}) I haven't benckmarked it yet. -- Mike