News for hackers. Stuff that matters.
Re:How Many Lines of C It Takes to Execute a and B in Python? by tyingq on Monday December 11, 2023 @05:04AM (#38599160)
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

Re:How Many Lines of C It Takes to Execute a and B in Python? by masklinn on Monday December 11, 2023 @06:45AM (#38599742)
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.