View definition

(*State).CreateTable

Defined in github.com/Shopify/go-lua/lua.go

Description

CreateTable creates a new empty table and pushes it onto the stack. arrayCount is a hint for how many elements the table will have as a sequence; recordCount is a hint for how many other elements the table will have. Lua may use these hints to preallocate memory for the the new table. This pre-allocation is useful for performance when you know in advance how many elements the table will have. Otherwise, you can use the function NewTable.

http://www.lua.org/manual/5.2/manual.html#lua_createtable

CreateTable is referenced in 3 repositories

github.com/Shopify/go-lua github.com/Shopify/goluago

...