JanetDocsPlaygroundI'm feeling luckyGitHub sign in

table/new



    cfunction

    (table/new capacity)

    Creates a new empty table with pre-allocated memory for capacity 
    entries. This means that if one knows the number of entries going 
    to go in a table on creation, extra memory allocation can be 
    avoided. Returns the new table.


0 examplesSign in to add an example
Loading...