Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

It looks like you can disable the slower randomized hashing yourself by setting PYTHONHASHSEED to 0. Though I don't know if there's further speedup to be had by using a different hash implementation.

https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHA...

The original issue: https://bugs.python.org/issue13703



That only disables the keying of the hash function (sets the initial value to 0), it does not change the hash function.

The hashseed is a per-process value, it has basically no impact on performances.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: