mirror of
https://github.com/python/cpython.git
synced 2025-12-04 08:34:25 +00:00
Minor tweeak to tighten the inner-loop.
This commit is contained in:
parent
ae44292fe2
commit
91672617d5
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue