User Tools


Function HASH-TABLE-REHASH-THRESHOLD

Syntax

  • hash-table-rehash-threshold hash-tablerehash-threshold

Arguments and Values

Description

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.

Examples

(defparameter *table* (make-hash-table :size 100 :rehash-threshold 0.5))

*TABLE*

*table*

#<HASH-TABLE EQL 0/100 2562446>

(hash-table-rehash-threshold *table*)

0.5

Side Effects

None.

Affected By

None.

Exceptional Situations

Should signal an error of type type-error if hash-table is not a hash table.

See Also

Notes

None.

\issue{HASH-TABLE-ACCESS:X3J13-MAR-89} \issue{HASH-TABLE-SIZE:INTENDED-ENTRIES}