~/forever/addon-api/function/table.create
table.create
documented function · LuaTableExtensions
table.create(arraySizeHint, nodeSizeHint) : tableCreates an empty table with storage preallocated for the specified number of array and non-array entries.
──ARGUMENTS
- arraySizeHint
- number (The number of array entries for which to preallocate storage.)
- nodeSizeHint
- number, default 0 (The number of non-array entries for which to preallocate storage.)
──RETURNS
- table
- table
──DETAILS
- Secret Arguments
- AllowedWhenUntainted
──VERSION HISTORY
Present since at least 1.60.1.70707, the first build we track.