Mark Dickinson <[email protected]> added the comment: > Though I prefer you switch to x ^= x >> 4.
Okay, how about this one? Short and sweet. No loss of information except when sizeof(void *) > sizeof(long) (unavoidable until someone finds a way to fit all 64-bit pointers into a 32-bit integer type...) Added file: http://bugs.python.org/file13054/pointer_hash5.patch _______________________________________ Python tracker <[email protected]> <http://bugs.python.org/issue5186> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
