ToC DocOverview CGDoc RelNotes Index PermutedIndex
Allegro CL
Home Previous Up Next Table of Contents Index
  ANSI Common Lisp   18 Hash Tables   18.2 Dictionary of Hash Tables

18.2.6 hash-table-rehash-threshold Function

hash-table-rehash-threshold hash-table    rehash-threshold

Arguments and Values:
hash-table - a hash table.

rehash-threshold - a real of type (real 0 1).

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

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

See Also:
make-hash-table, hash-table-rehash-size

Allegro CL Implementation Details:

Home Previous Up Next Table of Contents Index
© Franz Inc. 1998-2015 - File last updated 03-23-2015