[Python-Dev] file.readinto performance regression in Python 3.2 vs. 2.7?
anacrolix at gmail.com
Fri Nov 25 13:02:53 CET 2011
I was under the impression this is already in 3.3?
On Nov 25, 2011 10:58 PM, "Eli Bendersky" <eliben at gmail.com> wrote:
>> > However, the original question remains - on the 100MB file also,
>> > in 2.7 readinto is 35% faster than readandcopy(), on 3.2 it's about the
>> > same speed (even a few % slower). That said, I now observe with Python
>> > the same speed as with 2.7, including the readinto() speedup - so it
>> > appears that the readinto() regression has been solved in 3.3? Any clue
>> > about where it happened (i.e. which bug/changeset)?
>> It would probably be http://hg.python.org/cpython/rev/a1d77c6f4ec1/
> Great, thanks. This is an important change, definitely something to wait
for in 3.3
> Python-Dev mailing list
> Python-Dev at python.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev