hashtables.private vocabulary - Factor Documentation (original) (raw)

hashtables.private vocabulary
Factor handbook » Vocabulary index

Summary

Metadata

Parents: hashtables

Words

Tuple classes

Class Superclass Slots
tombstone tuple state

Ordinary words

Word Stack effect
(key@) ( key array i probe# -- array n ? )
(new-key@) ( key array i probe# j -- array i j empty? )
(rehash) ( alist hash -- )
(set-at) ( value key hash -- )
+empty+ ( -- value )
+tombstone+ ( -- value )
( n -- array )
?grow-hash ( hash -- )
collect-pairs ( hash quot: ( key value -- elt ) -- seq )
each-pair ( ... array quot: ( ... key value -- ... ) -- ... )
grow-hash ( hash -- )
hash-count+ ( hash -- )
hash-deleted+ ( hash -- )
hash-deleted- ( hash -- )
hash-large? ( hash -- ? )
hash@ ( key array -- i )
init-hash ( hash -- )
key@ ( key hash -- array n ? )
new-key@ ( key hash -- array n )
no-key ( key array -- array n ? )
probe ( array i probe# -- array i probe# )
reset-hash ( n hash -- )
set-nth-pair ( value key array n -- )
wrap ( i array -- n )

Class predicate words

Word Stack effect
tombstone? ( object -- ? )

Files

resource:core/hashtables/hashtables.factor
resource:core/hashtables/hashtables-docs.factor
resource:core/hashtables/hashtables-tests.factor