Login
From:
Python⇒Speed
(Uncensored)
subscribe
The surprising way to save memory with BytesIO
https://pythonspeed.com/articles/bytesio-reduce-memory-usage/
links
backlinks
Tagged with:
python
performance
Roast topics
Find topics
Find it!
If you want to save memory when reading from a BytesIO, getvalue() is surprisingly a good choice.