hash() yields different results for different platforms
Piet van Oostrum
piet at cs.uu.nl
Wed Jul 12 05:55:33 EDT 2006
>>>>> Grant Edwards <grante at visi.com> (GE) wrote:
>GE> The low 32 bits match, so perhaps you should just use that
>GE> portion of the returned hash?
If the hashed should be unique, 32 bits is much too low if you have
millions of entries.
--
Piet van Oostrum <piet at cs.uu.nl>
URL: http://www.cs.uu.nl/~piet [PGP 8DAE142BE17999C4]
Private email: piet at vanoostrum.org
More information about the Python-list
mailing list