Author eli.bendersky
Recipients eli.bendersky, ncoghlan, pitrou
Date 2012-07-17.12:12:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
From this pydev thread:

"BytesIO is actually missing an optimisation that is already used in
StringIO: the StringIO C implementation uses a fragment accumulator
internally, and collapses that into a single string object when
getvalue() is called. BytesIO is still using the old
"resize-the-buffer-as-you-go" strategy, and thus ends up repeatedly
reallocating the buffer as the data sequence grows incrementally.

It should be optimised to work the same way StringIO does (which is
effectively the same way that the monkeypatched version works)"
Date User Action Args
2012-07-17 12:12:46eli.benderskysetrecipients: + eli.bendersky, ncoghlan, pitrou
2012-07-17 12:12:46eli.benderskysetmessageid: <>
2012-07-17 12:12:45eli.benderskylinkissue15381 messages
2012-07-17 12:12:45eli.benderskycreate