Author bmerry
Recipients bmerry, pitrou, skrah, vstinner
Date 2020-09-15.15:27:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Was this abandoned just because nobody had the time, or was there a problem with the approach? I independently wanted this optimisation, and have ended up implementing something very similar to what was reverted in

In a benchmark that creates a large bytearray, then fills it with socket.readinto, I'm seeing a 2x performance improvement on Linux, and from some quick benchmarking it seems to be just as fast as the old code for small arrays that are allocated from the pool.
Date User Action Args
2020-09-15 15:27:19bmerrysetrecipients: + bmerry, pitrou, vstinner, skrah
2020-09-15 15:27:19bmerrysetmessageid: <>
2020-09-15 15:27:19bmerrylinkissue21644 messages
2020-09-15 15:27:19bmerrycreate