]> code.delx.au - gnu-emacs/blobdiff - lispref/hash.texi
*** empty log message ***
[gnu-emacs] / lispref / hash.texi
index 7e2c3c3751c69dac768f628b9272732cfc74026a..e497123b6c0ff89cf6cb64eea8a55698c10c7348 100644 (file)
@@ -34,6 +34,11 @@ Hash tables have no read syntax, and print in hash notation, like this:
      @result{} #<hash-table 'eql nil 0/65 0x83af980>
 @end example
 
+@noindent
+(The term ``hash notation'' refers to the initial @samp{#}
+character---@pxref{Printed Representation}---and has nothing to do with
+the term ``hash table.'')
+
   Obarrays are also a kind of hash table, but they are a different type
 of object and are used only for recording interned symbols
 (@pxref{Creating Symbols}).
@@ -59,7 +64,7 @@ arguments.  The arguments should consist of alternating keywords
 them.
 
 Several keywords make sense in @code{make-hash-table}, but the only two
-that you really need to know about are @code{:test} and @code{:weak}.
+that you really need to know about are @code{:test} and @code{:weakness}.
 
 @table @code
 @item :test @var{test}
@@ -106,9 +111,9 @@ both are weak).
 @item :size @var{size}
 This specifies a hint for how many associations you plan to store in the
 hash table.  If you know the approximate number, you can make things a
-little more efficient by specifying it this way.  If you specify to
+little more efficient by specifying it this way.  If you specify too
 small a size, the hash table will grow automatically when necessary, but
-doing that takes some extra time,
+doing that takes some extra time.
 
 The default size is 65.
 
@@ -279,8 +284,8 @@ itself is copied---the keys and values are shared.
 This function returns the actual number of entries in @var{table}.
 @end defun
 
-@tindex hash-table-rehash-test
-@defun hash-table-rehash-test table
+@tindex hash-table-test
+@defun hash-table-test table
 This returns the @var{test} value that was given when @var{table} was
 created, to specify how to hash and compare keys.  See
 @code{make-hash-table} (@pxref{Creating Hash}).
@@ -302,7 +307,7 @@ This returns the rehash size of @var{table}.
 This returns the rehash threshold of @var{table}.
 @end defun
 
-@tindex hash-table-rehash-size
-@defun hash-table-rehash-size table
+@tindex hash-table-size
+@defun hash-table-size table
 This returns the current nominal size of @var{table}.
 @end defun