hash-count+ ( hash -- ) (original) (raw)

hash-count+ ( hash -- )

Vocabulary
hashtables.private

Inputs

hash a hashtable

Outputs
None

Word description
Called to increment the hashtable size when a new entry is added with set-at

Side effects
Modifies hash

Definition

USING: accessors kernel math.private ;

IN: hashtables.private

: hash-count+ ( hash -- )
[ 1 fixnum+fast ] change-count drop ; inline