browse svn | home page
This is a simple utility for observing the distribution of a hash-function.
As an example, the arguments
full djb2 2 stl 1000000
should be structurally interpreted as
full ("djb2", 2) ("stl", 2)
This constructs 2 top-level buckets, each leading to 1000000 second-level buckets, where the first level is hashed by the DJB2 function, and the second level is hashed by the STL function.
Valid options are:
cdf: write a CDF of bucket sizes into the file
dump: write the complete bucket sizes to stdout.
full: produce both the CDF and the dump.
Valid hash functions are:
Hash Distribution Test is released under the GNU GPL3.
Copyright 2008 Yang Zhang.
All rights reserved.
Back to assorted.sf.net.