Message192297
Using
while True:
if not fileobj.read(8192):
break
instead of
for line in fileobj:
pass
results in higher throughput, but a similar slowdown with makefile(). So this is not a problem specific to readline(). |
|
Date |
User |
Action |
Args |
2013-07-04 16:06:32 | sbt | set | recipients:
+ sbt, christian.heimes, socketpair, serhiy.storchaka |
2013-07-04 16:06:32 | sbt | set | messageid: <1372953992.63.0.370933062597.issue18329@psf.upfronthosting.co.za> |
2013-07-04 16:06:32 | sbt | link | issue18329 messages |
2013-07-04 16:06:32 | sbt | create | |
|