Message90157
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. |
|
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 | |
|