diff options
author | dkf <donal.k.fellows@manchester.ac.uk> | 2003-11-14 23:21:01 (GMT) |
---|---|---|
committer | dkf <donal.k.fellows@manchester.ac.uk> | 2003-11-14 23:21:01 (GMT) |
commit | 8200862cb7c911e184f4b9f35578e67f2000cf11 (patch) | |
tree | 2b42c119e735fa5a23d1e4521793e39cf223ad8f /doc | |
parent | f3987dcd1d334e845d4fe6448f4a11e104392a96 (diff) | |
download | tcl-8200862cb7c911e184f4b9f35578e67f2000cf11.zip tcl-8200862cb7c911e184f4b9f35578e67f2000cf11.tar.gz tcl-8200862cb7c911e184f4b9f35578e67f2000cf11.tar.bz2 |
TIP#138 implementation plus extra test stuff [Patch 731356]
Diffstat (limited to 'doc')
-rw-r--r-- | doc/Hash.3 | 13 |
1 files changed, 12 insertions, 1 deletions
@@ -5,7 +5,7 @@ '\" See the file "license.terms" for information on usage and redistribution '\" of this file, and for a DISCLAIMER OF ALL WARRANTIES. '\" -'\" RCS: @(#) $Id: Hash.3,v 1.11 2003/07/18 16:56:41 dgp Exp $ +'\" RCS: @(#) $Id: Hash.3,v 1.12 2003/11/14 23:21:02 dkf Exp $ '\" .so man.macros .TH Tcl_Hash 3 "" Tcl "Tcl Library Procedures" @@ -256,6 +256,17 @@ There are some things, pointers for example which don't hash well because they do not use the lower bits. If this flag is set then the hash table will attempt to rectify this by randomising the bits and then using the upper N bits as the index into the table. +.VS 8.5 br +.IP \fBTCL_HASH_KEY_SYSTEM_HASH\fR 25 +This flag forces Tcl to use the memory allocation +procedures provided by the operating system when allocating +and freeing memory used to store the hash table data structures, +and not any of Tcl's own customized memory allocation routines. +This is important if the hash table is to be used in the +implementation of a custom set of allocation routines, or something +that a custom set of allocation routines might depend on, in +order to avoid any circular dependency. +.VE 8.5 .PP The \fIhashKeyProc\fR member contains the address of a function called to calculate a hash value for the key. |