Message276947
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. :) |
|
Date |
User |
Action |
Args |
2016-09-19 05:22:30 | xiang.zhang | set | recipients:
+ xiang.zhang, vstinner, methane, berker.peksag, minrk |
2016-09-19 05:22:30 | xiang.zhang | set | messageid: <1474262550.5.0.641435526085.issue28147@psf.upfronthosting.co.za> |
2016-09-19 05:22:30 | xiang.zhang | link | issue28147 messages |
2016-09-19 05:22:30 | xiang.zhang | create | |
|