commit | 91672617d5189e3593415a2a3e7df759ff3aca6b | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Fri Jun 26 02:50:21 2015 -0700 |
committer | Raymond Hettinger <python@rcn.com> | Fri Jun 26 02:50:21 2015 -0700 |
tree | 6da447389ff8d7682fdba2ef141704df79a64b82 | |
parent | ae44292fe2a2904f4e1be80f28a85929833826a7 [diff] [blame] |
Minor tweeak to tighten the inner-loop.
diff --git a/Objects/setobject.c b/Objects/setobject.c index 5b430b3..85cb4bc 100644 --- a/Objects/setobject.c +++ b/Objects/setobject.c
@@ -199,7 +199,7 @@ goto found_active; mask = so->mask; } - if (entry->hash == -1 && freeslot == NULL) + else if (entry->hash == -1 && freeslot == NULL) freeslot = entry; } }