1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

[svn] Minor doc addition.

This commit is contained in:
hniksic 2001-11-17 10:03:57 -08:00
parent 4f5a898a66
commit e798e61c06

View File

@ -156,6 +156,11 @@ struct hash_table {
#define LOOP_NON_EMPTY(mp, mappings, size) \
for (; !EMPTY_MAPPING_P (mp); mp = NEXT_MAPPING (mp, mappings, size))
/* #### We might want to multiply with the "golden ratio" here to get
better randomness for keys that do not result from a good hash
function. This is currently not a problem in Wget because we only
use the string hash tables. */
#define HASH_POSITION(ht, key) (ht->hash_function (key) % ht->size)
/* Find a prime near, but greather than or equal to SIZE. */