hashability question

Erik Max Francis max at alcyone.com
Sun Oct 13 06:49:39 CEST 2002


"Gonçalo Rodrigues" wrote:

> I don't know the first
> thing about good criteria for hashing functions so I am asking the
> more
> knowledgeable people, is this a good hashing function, or does it
> suffer
> from some terrible handicap?

It looks good to me, provided you expect the time stamps (which are
presumably integers or floats) to be unique the vast majority of the
time.

-- 
 Erik Max Francis / max at alcyone.com / http://www.alcyone.com/max/
 __ San Jose, CA, USA / 37 20 N 121 53 W / &tSftDotIotE
/  \ Be able to be alone.  Lose not the advantage of solitude.
\__/ Sir Thomas Browne
    Kepler's laws / http://www.alcyone.com/max/physics/kepler/
 A proof of Kepler's laws.



More information about the Python-list mailing list