Re: [Python-Dev] timeit module

2006-01-20 Thread Nick Coghlan
Steve Holden wrote: > Connelly Barnes wrote: >> Hi, >> >> Perhaps I am the only one bothered by the timeit >> module, but it seems poorly designed to me. >> >> First of all, it should use a geometric series with a >> timeout value to detect how many iterations it should >> perform. Currently, the

Re: [Python-Dev] timeit module

2006-01-20 Thread Connelly Barnes
Connelly Barnes wrote: >> Hi, >> >> Perhaps I am the only one bothered by the timeit >> module, but it seems poorly designed to me. >> >> First of all, it should use a geometric series with a >> timeout value to detect how many iterations it should >> perform. Currently, the user is required to

Re: [Python-Dev] timeit module

2006-01-16 Thread Steve Holden
Connelly Barnes wrote: > Hi, > > Perhaps I am the only one bothered by the timeit > module, but it seems poorly designed to me. > > First of all, it should use a geometric series with a > timeout value to detect how many iterations it should > perform. Currently, the user is required to manually

[Python-Dev] timeit module

2006-01-16 Thread Connelly Barnes
Hi, Perhaps I am the only one bothered by the timeit module, but it seems poorly designed to me. First of all, it should use a geometric series with a timeout value to detect how many iterations it should perform. Currently, the user is required to manually specify the number of iterations (the