c9c7dc5748
Lua uses 1-based index on table insertions, and lua_newtable has a bit better performance than lua_createtable if initializing tables with an unknown item count.