rehash ( hash -- )
Factor handbook » The language » Collections » Hashtables » Hashtable implementation details

Prev:set-nth-pair ( value key array n -- )


Vocabulary
hashtables

Inputs
hasha hashtable


Outputs
None

Word description
Rebuild the hashtable. This word should be called if the hashcodes of the hashtable's keys have changed, or if the hashing algorithms themselves have changed, neither of which should occur during normal operation.

Definition