diff options
author | Raymond Hettinger <python@rcn.com> | 2013-08-21 06:03:28 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2013-08-21 06:03:28 (GMT) |
commit | 929cbac307aceaedbe0fa302aba8c23a9644e207 (patch) | |
tree | 831bd4adcc29d739c3ce9aa0002faddb86c52cbe /Objects/setobject.c | |
parent | ae9e616a00e0a288c31dc053db40353302823e88 (diff) | |
download | cpython-929cbac307aceaedbe0fa302aba8c23a9644e207.zip cpython-929cbac307aceaedbe0fa302aba8c23a9644e207.tar.gz cpython-929cbac307aceaedbe0fa302aba8c23a9644e207.tar.bz2 |
Remove a redundant hash table probe (this was artifact from an earlier draft of the patch).
Diffstat (limited to 'Objects/setobject.c')
-rw-r--r-- | Objects/setobject.c | 11 |
1 files changed, 0 insertions, 11 deletions
diff --git a/Objects/setobject.c b/Objects/setobject.c index 3d9deac..9074a76 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c @@ -215,17 +215,6 @@ set_lookkey_unicode(PySetObject *so, PyObject *key, Py_hash_t hash) freeslot = NULL; } - entry = &table[i ^ 1]; - if (entry->key == NULL) - return freeslot == NULL ? entry : freeslot; - if (entry->key == key - || (entry->hash == hash - && entry->key != dummy - && unicode_eq(entry->key, key))) - return entry; - if (entry->key == dummy && freeslot == NULL) - freeslot = entry; - j = i; perturb = hash; while (1) { |