Hash stability

Peter Otten __peter__ at web.de
Sun Jan 15 07:22:21 EST 2012


Heiko Wundram wrote:

> Am 15.01.2012 11:13, schrieb Stefan Behnel:
>> That's a stupid design. Using a hash function that the application does
>> not control to index into persistent storage just screams for getting the
>> code broken at some point.
> 
> I agree completely with that (I hit the corresponding problem with suds
> while transitioning from 32-bit Python to 64-bit Python, where hashes
> aren't stable either), but as stated in my mail: that wasn't the
> original question. ;-)

I'm curious: did you actually get false cache hits or just slower responses?





More information about the Python-list mailing list