- (make-hash-table [TEST HASH SIZE] [#:test TEST] [#:hash HASH] [#:size SIZE] [#:initial INITIAL] [#:min-load MIN-LOAD] [#:max-load MAX-LOAD] [#:weak-keys WEAK-KEYS] [#:weak-values WEAK-VALUES])procedure
Returns a new HASH-TABLE with the supplied configuration.
- TEST
- (* * -> boolean) ; equivalence function.
- HASH
- (* fixnum -> fixnum) ; hash function.
- SIZE
- fixnum ; expected number of table elements.
- INITIAL
- * ; default initial value.
- MIN-LOAD
- flonum(0.0 1.0) ; minimum load factor.
- MAX-LOAD
- flonum(0.0 1.0) ; maximum load factor.
- WEAK-KEYS
- boolean ; weak references for keys.
- WEAK-VALUES
- boolean ; weak references for values.
Please note that hash tables are not guaranteed to compare equal? to each other, even if they contain exactly the same key/value pairs.