Author vstinner
Recipients malin, vstinner
Date 2020-10-26.19:45:11
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
It would be interested to see if using _PyBytesWriter in bz2, lzma, zlib and _io.FileIO.readall() would speed up the code. I would prefer to centralize the buffer allocation logic in _PyBytesWriter rather than having custom code in each file. _PyBytesWriter is designed to reduce the number of realloc() by using overallocation, it uses a different overallocation ratio on Windows, and it uses a small buffer allocated on the stack for strings up to 512 bytes.
Date User Action Args
2020-10-26 19:45:11vstinnersetrecipients: + vstinner, malin
2020-10-26 19:45:11vstinnersetmessageid: <>
2020-10-26 19:45:11vstinnerlinkissue41486 messages
2020-10-26 19:45:11vstinnercreate