Model set.pop() after dict.popitem().

This commit is contained in:
Raymond Hettinger 2005-08-02 03:45:16 +00:00
parent 6a694508ae
commit 67962ab1bb
2 changed files with 34 additions and 12 deletions

View file

@ -13,6 +13,10 @@ There are three kinds of slots in the table:
1. Unused: key == NULL
2. Active: key != NULL and key != dummy
3. Dummy: key == dummy
Note: .pop() abuses the hash field of an Unused or Dummy slot to
hold a search finger. The hash field of Unused or Dummy slots has
no meaning otherwise.
*/
#define PySet_MINSIZE 8