[issue31993] pickle.dump allocates unnecessary temporary bytes / str
Olivier Grisel
report at bugs.python.org
Thu Nov 9 17:17:41 EST 2017
Olivier Grisel <olivier.grisel at ensta.org> added the comment:
Note that the time difference is not significant. I rerun the last command I got:
```
(py37) ogrisel at ici:~/code/cpython$ python ~/tmp/large_pickle_dump.py --use-pypickle
Allocating source data...
=> peak memory usage: 2.014 GB
Dumping to disk...
done in 4.187s
=> peak memory usage: 2.014 GB
```
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue31993>
_______________________________________
More information about the Python-bugs-list
mailing list