This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author beazley
Recipients beazley, christian.heimes
Date 2008-12-06.13:45:46
SpamBayes Score 2.884339e-06
Marked as misclassified No
Message-id <1228571147.23.0.466268871188.issue4561@psf.upfronthosting.co.za>
In-reply-to
Content
Just as one other followup, if you change the code in the last example 
to use binary mode like this:

for line in open("BIG","rb"):
    pass

You get the following results:

Python 2.6:  0.64s
Python 3.0:  42.26s   (66 times slower)
History
Date User Action Args
2008-12-06 13:45:47beazleysetrecipients: + beazley, christian.heimes
2008-12-06 13:45:47beazleysetmessageid: <1228571147.23.0.466268871188.issue4561@psf.upfronthosting.co.za>
2008-12-06 13:45:46beazleylinkissue4561 messages
2008-12-06 13:45:46beazleycreate