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.
猜你喜欢
转载自www.cnblogs.com/yuanjiangw/p/11762078.html
今日推荐
周排行