Message168826
FileIO.readall() already has an overallocation mechanism which should yield linear complexity. Perhaps it needs to be tweaked a bit?
(look at new_buffersize in Modules/_io/fileio.c)
By the way, your results are bit weird. Why does the data rate increase with the transfered amount? |
|
Date |
User |
Action |
Args |
2012-08-21 23:58:43 | pitrou | set | recipients:
+ pitrou, sbt |
2012-08-21 23:58:43 | pitrou | set | messageid: <1345593523.08.0.920624899161.issue15758@psf.upfronthosting.co.za> |
2012-08-21 23:58:42 | pitrou | link | issue15758 messages |
2012-08-21 23:58:42 | pitrou | create | |
|