https://github.com/python/cpython/blob/3.8/Objects/dictobject.c
To avoid slowing down lookups on a near-full table, we resize the table when it's USABLE_FRACTION (currently two-thirds) full.
Guess you like
Origin www.cnblogs.com/yuanjiangw/p/11762078.html
Recommended
Ranking