Python 3 read() function

Istvan Albert istvan.albert at gmail.com
Thu Dec 4 19:40:41 CET 2008


On Dec 4, 1:31 pm, Terry Reedy <tjre... at udel.edu> wrote:

> Jerry Hill wrote:

> > That's 3 orders of magnitude slower on python3.0!
>
> Timing of os interaction may depend on os.  I verified above on WinXp
> with 4 meg Pythonxy.chm file.  Eye blink versus 3 secs, duplicated.  I
> think something is wrong that needs fixing in 3.0.1.
>
> http://bugs.python.org/issue4533

I believe that the slowdowns are even more substantial when opening
the file in text mode.



More information about the Python-list mailing list