Message90157
| Author |
scott_daniels |
| Recipients |
scott_daniels |
| Date |
2009年07月05日.15:15:09 |
| SpamBayes Score |
4.6147452e-05 |
| Marked as misclassified |
No |
| Message-id |
<1246806912.2.0.722769600334.issue6422@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
timeit.main has a _very_ handy autoranging facility to pick an
appropriate number of repetitions when not specified. The autoranging
code should be lifted to a method on Timer instances (so non-main code
can use it). If number is specified as 0 or None, I would like to use
the results of that autoranging code in Timer.repeat and Timer.timeit.
Patch to follow. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2009年07月05日 15:15:12 | scott_daniels | set | recipients:
+ scott_daniels |
| 2009年07月05日 15:15:12 | scott_daniels | set | messageid: <1246806912.2.0.722769600334.issue6422@psf.upfronthosting.co.za> |
| 2009年07月05日 15:15:10 | scott_daniels | link | issue6422 messages |
| 2009年07月05日 15:15:09 | scott_daniels | create |
|