@mikuroxina/mini-fn
    Preparing search index...

    Function reserve

    • Reserves the capacity for at least additional more elements to be inserted in the hash table dictionary. Does nothing if the capacity is already sufficient. After calling this, it will not occur reallocation to append additional items with insert.

      If you know the amount to insert before, you should use this to reduce reallocations.

      Type Parameters

      • K

      Parameters

      Returns (
          additional: number,
      ) => <S, V>(mapRef: MutRef<S, Hash.Map<K, V>>) => Mut.Mut<S, never[]>

      Mutating computation which reserves the capacity.