Message168829
| Author |
sbt |
| Recipients |
pitrou, sbt |
| Date |
2012年08月22日.00:09:02 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1345594143.49.0.368389141509.issue15758@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
> 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)
I think it needs a bit more than a tweak;-) Looks like it increases by 12.5% at time. Does not seem to work as intended though.
> By the way, your results are bit weird. Why does the data rate increase
> with the transfered amount?
The rates are completely unreliable for those benchmarks which take less than 0.1 seconds. They level off after 0.1 secs when the overheads become insignificant. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年08月22日 00:09:03 | sbt | set | recipients:
+ sbt, pitrou |
| 2012年08月22日 00:09:03 | sbt | set | messageid: <1345594143.49.0.368389141509.issue15758@psf.upfronthosting.co.za> |
| 2012年08月22日 00:09:03 | sbt | link | issue15758 messages |
| 2012年08月22日 00:09:02 | sbt | create |
|