For plain lua the metatable variant is about 10% slower then direct referencing (at my machine), try yourself https://gist.github.com/sapier/1fbe9aaa90ff5f12b14f