[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
guile/guile-core/doc ChangeLog scheme-data.texi
From: |
Martin Grabmueller |
Subject: |
guile/guile-core/doc ChangeLog scheme-data.texi |
Date: |
Fri, 29 Jun 2001 23:58:04 -0700 |
CVSROOT: /cvs
Module name: guile
Changes by: Martin Grabmueller <address@hidden> 01/06/29 23:58:04
Modified files:
guile-core/doc : ChangeLog scheme-data.texi
Log message:
* scheme-data.texi (Hash Tables): Added docs for
`make-hash-table'.
CVSWeb URLs:
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/doc/ChangeLog.diff?cvsroot=OldCVS&tr1=1.106&tr2=1.107&r1=text&r2=text
http://savannah.gnu.org/cgi-bin/viewcvs/guile/guile-core/doc/scheme-data.texi.diff?cvsroot=OldCVS&tr1=1.23&tr2=1.24&r1=text&r2=text
Patches:
Index: guile/guile-core/doc/ChangeLog
diff -u guile/guile-core/doc/ChangeLog:1.106
guile/guile-core/doc/ChangeLog:1.107
--- guile/guile-core/doc/ChangeLog:1.106 Fri Jun 29 14:43:17 2001
+++ guile/guile-core/doc/ChangeLog Fri Jun 29 23:58:04 2001
@@ -1,3 +1,8 @@
+2001-06-30 Martin Grabmueller <address@hidden>
+
+ * scheme-data.texi (Hash Tables): Added docs for
+ `make-hash-table'.
+
2001-06-29 Martin Grabmueller <address@hidden>
* misc-modules.texi: New file.
Index: guile/guile-core/doc/scheme-data.texi
diff -u guile/guile-core/doc/scheme-data.texi:1.23
guile/guile-core/doc/scheme-data.texi:1.24
--- guile/guile-core/doc/scheme-data.texi:1.23 Mon Jun 18 12:08:31 2001
+++ guile/guile-core/doc/scheme-data.texi Fri Jun 29 23:58:04 2001
@@ -4331,8 +4331,8 @@
@menu
* Dictionary Types:: About dictionary types; what they're good for.
-* Association Lists::
-* Hash Tables::
+* Association Lists:: List-based dictionaries.
+* Hash Tables:: Table-based dictionaries.
@end menu
@node Dictionary Types
@@ -4793,6 +4793,15 @@
In each of the functions that follow, the @var{table} argument
must be a vector. The @var{key} and @var{value} arguments may be
any Scheme object.
+
address@hidden procedure make-hash-table size
+Create a new hash table of @var{size} slots. Note that the number of
+slots does not limit the size of the table, it just tells how large
+the underlying vector will be. The @var{size} should be similar to
+the expected number of elements which will be added to the table, but
+they need not match. For good performance, it might be a good idea to
+use a prime number as the @var{size}.
address@hidden deffn
@deffn primitive hashq-ref table key [dflt]
Look up @var{key} in the hash table @var{table}, and return the
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- guile/guile-core/doc ChangeLog scheme-data.texi,
Martin Grabmueller <=