Stefan Behnel | 2 Sep 2009 21:29
Picon
Favicon

Re: [Cython] FW: cython and hash tables / dictionary


Dag Sverre Seljebotn wrote:
> the hash function to use would in the majority of real world 
> cases depend heavily on the context. Up to what precision should two 
> floats be compared for equality? Since roundoff errors will usually lead 
> to slightly different values for storage and retrieval, unless you're 
> really, really careful.

Ah, ok, that's what you meant. Yes, I agree that it's rather futile to
discuss this without a real use case in mind.

Stefan


Gmane