Consolidate the occurrances of the prime used as the multiplier when hashing.

This commit is contained in:
Gregory P. Smith 2012-01-14 15:45:13 -08:00
commit f5b62a9b31
4 changed files with 7 additions and 4 deletions

View file

@ -316,7 +316,7 @@ tuplehash(PyTupleObject *v)
register Py_hash_t y;
register Py_ssize_t len = Py_SIZE(v);
register PyObject **p;
Py_uhash_t mult = 1000003;
Py_uhash_t mult = _PyHASH_MULTIPLIER;
x = 0x345678;
p = v->ob_item;
while (--len >= 0) {