Skip to content

Commit b9fcfa6

Browse files
authored
gh-104717: Add comment about manual loop unrolling (gh-104718)
1 parent 014dd30 commit b9fcfa6

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Objects/dictobject.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -944,6 +944,7 @@ unicodekeys_lookup_unicode(PyDictKeysObject* dk, PyObject *key, Py_hash_t hash)
944944
}
945945
perturb >>= PERTURB_SHIFT;
946946
i = mask & (i*5 + perturb + 1);
947+
// Manual loop unrolling
947948
ix = dictkeys_get_index(dk, i);
948949
if (ix >= 0) {
949950
PyDictUnicodeEntry *ep = &ep0[ix];

0 commit comments

Comments
 (0)