Minor tweeak to tighten the inner-loop.

This commit is contained in:
Raymond Hettinger 2015-06-26 02:50:21 -07:00
parent ae44292fe2
commit 91672617d5

View file

@ -199,7 +199,7 @@ set_insert_key(PySetObject *so, PyObject *key, Py_hash_t hash)
goto found_active;
mask = so->mask;
}
if (entry->hash == -1 && freeslot == NULL)
else if (entry->hash == -1 && freeslot == NULL)
freeslot = entry;
}
}