Function: hash-table-size
hash-table-size is a function defined in fns.c.
Signature
(hash-table-size TABLE)
Documentation
Return the current allocation size of TABLE.
This is probably not the function that you are looking for. To get the
number of entries in a table, use hash-table-count instead.
The returned value is the number of entries that TABLE can currently hold without growing, but since hash tables grow automatically, this number is rarely of interest.
Source Code
// Defined in /usr/src/emacs/src/fns.c
{
struct Lisp_Hash_Table *h = check_hash_table (table);
return make_fixnum (HASH_TABLE_SIZE (h));
}