Optimize set.pop() to advance a pointer instead of indexing. (GH-10429)
Gives approx 20% speed-up using clang depending on the number of elements in the set (the less dense the set, the more the speed-up). Uses the same entry++ logic used elsewhere in the setobject.c code.
R
Raymond Hettinger committed
cf5863faabe011a61827b9b9982dba3d6a381f0f
Parent: b83942c
Committed by Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
on 11/9/2018, 10:31:56 AM