]> granicus.if.org Git - python/commit
Issue #23107: Tighten-up loops in setobject.c
authorRaymond Hettinger <python@rcn.com>
Sat, 27 Dec 2014 04:14:00 +0000 (20:14 -0800)
committerRaymond Hettinger <python@rcn.com>
Sat, 27 Dec 2014 04:14:00 +0000 (20:14 -0800)
commit08e3dc0ad6b6637628e4b19425d3f0fccf4aeb9f
tree97d57565202a2bea6bdd8ecc7a255e43019b6322
parent404a45d91a3f5becee553f52a7b1cb55b6d62b5c
Issue #23107:  Tighten-up loops in setobject.c

* Move the test for an exact key match to after a hash match
* Use "used" as a loop counter instead of "fill"
* Minor improvements to variable names and code consistency
Objects/setobject.c