[Python-Dev] file.readinto performance regression in Python 3.2 vs. 2.7?
eliben at gmail.com
Fri Nov 25 12:56:05 CET 2011
> > However, the original question remains - on the 100MB file also, although
> > 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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Python-Dev