JanetDocsPlaygroundI'm feeling luckyGitHub sign in


    src/core/array.c on line 199, column 1

    (array/ensure arr capacity growth)

    Ensures that the memory backing the array is large enough for 
    `capacity` items at the given rate of growth. Capacity and growth 
    must be integers. If the backing capacity is already enough, then 
    this function does nothing. Otherwise, the backing memory will be 
    reallocated so that there is enough space.

0 examplesSign in to add an example