|
(...)
It looks as though using the metatable is substantially more memory efficient than copying method references into each object instance, which makes sense. On the other hand, invoking methods via the metatable looks to be about 5% slower than if they were stored in the object's table (I guess the cost of an indirection will never be 0).