3 ms·
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 b
by tyingq 3y ago
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-PYTHONHASHSEED https://docs.python.org/3/using/cmdline.html#envvar-PYTHONHA...
The original issue: https://bugs.python.org/issue13703 https://bugs.python.org/issue13703
- masklinn 3y agoThat 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.
- deleted 3y ago[deleted]