[issue12175] FileIO.readall() read the file position and size at each read

STINNER Victor report at bugs.python.org
Wed May 25 23:32:15 CEST 2011


STINNER Victor <victor.stinner at haypocalc.com> added the comment:

> Attached patch [fileio_readall.patch] fixes both problems.

> Looks ok to me. Did you test under Windows?

Yes, test_io pass on Windows Vista 64 bits.

> Did you run some benchmarks?

Yes, see msg136853. Do you mean that I should not touch FileIO.readall() if it doesn't make it faster? (only 7% faster)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue12175>
_______________________________________


More information about the Python-bugs-list mailing list