/[guile]/guile/guile-core/doc/ref/scheme-memory.texi
ViewVC logotype

Diff of /guile/guile-core/doc/ref/scheme-memory.texi

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1.2.4 by ossau, Fri Mar 15 09:23:18 2002 UTC revision 1.1.2.5 by ossau, Fri Mar 15 14:12:58 2002 UTC
# Line 54  as soon as the value is no longer in use Line 54  as soon as the value is no longer in use
54  disappear when either the key or the value are not used anywhere else  disappear when either the key or the value are not used anywhere else
55  anymore.  anymore.
56    
57  Property lists offer the same kind of functionality as weak key hashes  Object properties offer the same kind of functionality as weak key
58  in many situations. (@pxref{Property Lists})  hashes in many situations. (@pxref{Object Properties})
59    
60  Here's an example (a little bit strained perhaps, but one of the  Here's an example (a little bit strained perhaps, but one of the
61  examples is actually used in Guile):  examples is actually used in Guile):
# Line 91  they constitute a doubly-weak table has Line 91  they constitute a doubly-weak table has
91  @deffnx {Scheme Procedure} make-weak-value-hash-table size  @deffnx {Scheme Procedure} make-weak-value-hash-table size
92  @deffnx {Scheme Procedure} make-doubly-weak-hash-table size  @deffnx {Scheme Procedure} make-doubly-weak-hash-table size
93  @deffnx {C Function} scm_make_weak_key_hash_table (size)  @deffnx {C Function} scm_make_weak_key_hash_table (size)
94    @deffnx {C Function} scm_make_weak_value_hash_table (size)
95    @deffnx {C Function} scm_make_doubly_weak_hash_table (size)
96  Return a weak hash table with @var{size} buckets. As with any  Return a weak hash table with @var{size} buckets. As with any
97  hash table, choosing a good size for the table requires some  hash table, choosing a good size for the table requires some
98  caution.  caution.

Legend:
Removed from v.1.1.2.4  
changed lines
  Added in v.1.1.2.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26