the title is about it. I am thinking of replacing many of my standard metatables with a newproxy metatable instead. the only reason being, well, having __len
just because I can :). performance when creating them is not a problem because it will only happen once, but they will be indexed often. they will mostly be generated behind one or two functions which is the only place I will use them (not in everyday scripts). so, I'm wondering:
getmetatable(newproxy(true))
. are there really any further complications I should be aware of?thanks