[issue36694] Excessive memory use or memory fragmentation when unpickling many small objects
Serhiy Storchaka
report at bugs.python.org
Sun Apr 21 13:32:32 EDT 2019
Serhiy Storchaka <storchaka+cpython at gmail.com> added the comment:
The difference is because in the first case all floats are the same float object 0.0, but in the second case they are different objects. For more reaĺistic comparison use different floats (for example random()).
----------
nosy: +serhiy.storchaka
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36694>
_______________________________________
More information about the Python-bugs-list
mailing list