hash()

Scott David Daniels scott.daniels at acm.org
Mon Dec 5 14:07:48 EST 2005


John Marshall wrote:
> Scott David Daniels wrote:
>> ... Why not grab a dictionary and do the stats yourself?
> I was actually interested in the mathematical/probability
> side rather than the empirical w/r to the current
> hash function in python.
Well, the probability depends on the universe you are choosing from.
That was why I was suggesting a dictionary: words may well have a
different distribution than arbitrary strings.

--Scott David Daniels
scott.daniels at acm.org



More information about the Python-list mailing list