[issue23261] Clean-up set.pop() search finger logic

2015-01-18 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue23261] Clean-up set.pop() search finger logic

2015-01-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset 0f90a3bd07f7 by Raymond Hettinger in branch 'default': Issue 23261: Clean-up the hack to store the set.pop() search finger in a hash field instead of the setobject. https://hg.python.org/cpython/rev/0f90a3bd07f7 -- nosy: +python-dev _

[issue23261] Clean-up set.pop() search finger logic

2015-01-17 Thread Raymond Hettinger
New submission from Raymond Hettinger: The existing search finger is stored in a hackish way (using the hash field of entry zero in the hash table). Replace this with normal coding techniques (saving the field in the set object). Cost one extra field in the set object. Benefit, remove an arc