Message77125
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) |
|
Date |
User |
Action |
Args |
2008-12-06 13:45:47 | beazley | set | recipients:
+ beazley, christian.heimes |
2008-12-06 13:45:47 | beazley | set | messageid: <1228571147.23.0.466268871188.issue4561@psf.upfronthosting.co.za> |
2008-12-06 13:45:46 | beazley | link | issue4561 messages |
2008-12-06 13:45:46 | beazley | create | |
|