reset-hash ( n hash -- )


Vocabulary
hashtables.private

Inputs
na positive integer specifying hashtable capacity
hasha hashtable


Outputs
None

Word description
Resets the underlying array of the hashtable to a new array with the given capacity. Removes all entries from the hashtable.

Side effects
Modifies hash

Definition