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 xiang.zhang
Recipients berker.peksag, methane, minrk, vstinner, xiang.zhang
Date 2016-09-19.05:22:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474262550.5.0.641435526085.issue28147@psf.upfronthosting.co.za>
In-reply-to
Content
Ahh, I see.

> If there are any integer a such as ESTIMATE_SIZE(a) == n and n == 2**m and USABLE_FRACTION(n) == a - 1.

There are, such as 11, 43...

> a items cannot be inserted into dict after dictresize(d, ESTIMATE_SIZE(a))

It can but needs another resize in insertdict which breaks the intention of ESTIMATE_SIZE.

Then everything looks fine to me. :)
History
Date User Action Args
2016-09-19 05:22:30xiang.zhangsetrecipients: + xiang.zhang, vstinner, methane, berker.peksag, minrk
2016-09-19 05:22:30xiang.zhangsetmessageid: <1474262550.5.0.641435526085.issue28147@psf.upfronthosting.co.za>
2016-09-19 05:22:30xiang.zhanglinkissue28147 messages
2016-09-19 05:22:30xiang.zhangcreate