[Python-Dev] file.readinto performance regression in Python 3.2 vs. 2.7?

Terry Reedy tjreedy at udel.edu
Fri Nov 25 01:31:12 CET 2011


On 11/24/2011 5:02 PM, Matt Joiner wrote:
> What if you broke up the read and built the final string object up. I
> always assumed this is where the real gain was with read_into.

If a pure read takes twice as long in 3.3 as in 3.2, that is a concern 
regardless of whether there is a better way.

-- 
Terry Jan Reedy



More information about the Python-Dev mailing list