This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author methane
Recipients methane, serhiy.storchaka, vstinner, yselivanov
Date 2018-01-24.01:53:52
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1516758832.97.0.467229070634.issue32623@psf.upfronthosting.co.za>
In-reply-to
Content
For insert/pop loop, reduce table size aggressively on pop may cause
performance regression.  So reducing size should be conservative.

So my opinion is:

* When dict size become 0, make the dict shared-empty, like dict.clear()
* When (dict size < dk_size/8), call insertion_resize()
History
Date User Action Args
2018-01-24 01:53:53methanesetrecipients: + methane, vstinner, serhiy.storchaka, yselivanov
2018-01-24 01:53:52methanesetmessageid: <1516758832.97.0.467229070634.issue32623@psf.upfronthosting.co.za>
2018-01-24 01:53:52methanelinkissue32623 messages
2018-01-24 01:53:52methanecreate