hash-table-rehash-threshold
hash-table-rehash-threshold hash-table → rehash-threshold
hash-table—a hash table.
rehash-threshold—a real of type (real 0 1). KMP thinks HASH-TABLE-SIZE:INTENDED-ENTRIES implies this can no longer be an integer.
Moon concurs.
Returns the current rehash threshold of hash-table, which is suitable for use in a call to make-hash-table in order to produce a hash table with state corresponding to the current state of the hash-table.
(setq table (make-hash-table :size 100 :rehash-threshold 0.5)) → #<HASH-TABLE EQL 0/100 2562446> (hash-table-rehash-threshold table) → 0.5
None.
None.
Should signal an error of type type-error if hash-table is not a hash table.
make-hash-table, hash-table-rehash-size
Per X3J13. -kmp 05-Oct-93
None.