Factor Documentation
|
Home
|
Glossary
|
Search
factorcode.org
Hash sets
Factor documentation
>
Factor handbook
>
The language
>
Collections
>
Sets
>
Set implementations
Prev:
Sequences as sets
Next:
Bit sets
The
hash-sets
vocabulary implements hashtable-like sets. Hash sets form a class:
hash-set
Constructing new hash sets:
<hash-set>
( capacity -- hash-set )
>hash-set
( members -- hash-set )
The syntax for hash sets is described in
Hash set syntax
.