Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
216b745eafa7cd4a683a8405dcfbd7f5567f504c
/
.
/
Misc
/
NEWS.d
/
next
/
Core and Builtins
/
2018-04-03-00-58-41.bpo-33205.lk2F3r.rst
blob: 44511865abfa164320971f10c8f7c51d9342ce95 [
file
] [
log
] [
blame
]
Change
dict growth
function
from
``
round_up_to_power_2
(
used
*
2
+
hashtable_size
/
2
)
``
to
``
round_up_to_power_2
(
used
*
3
)
``
.
Previously
,
dict
is
shrinked only
when
``
used
==
0
``
.
Now
dict has more chance to be shrinked
.