|
Re: extracting a random subset of a vector: msg#00035python.numeric.general
Curzio Basso wrote: Robert Kern wrote: I think that the documentation is wrong. C.f. http://groups.google.com/groups?selm=mailman.1475.1092179147.5135.python-list%40python.org And the relevant snippet from timeit.py: if sys.platform == "win32": # On Windows, the best timer is time.clock() default_timer = time.clock else: # On most other platforms the best timer is time.time() default_timer = time.time I will note from personal experience that on Macs, time.clock is especially bad for benchmarking. -- Robert Kern rkern@xxxxxxxx "In the fields of hell where the grass grows high Are the graves of dreams allowed to die." -- Richard Harter ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: extracting a random subset of a vector: 00035, Curzio Basso |
|---|---|
| Next by Date: | Re: extracting a random subset of a vector: 00035, Chris Barker |
| Previous by Thread: | Re: extracting a random subset of a vectori: 00035, Curzio Basso |
| Next by Thread: | Re: extracting a random subset of a vector: 00035, Fernando Perez |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |