zokis / Python--Faster-Way

Python: Faster Way
http://pythonfasterway.cf/
232 stars 29 forks source link

Use min(timeit.repeat), best of three runs #3

Closed g2p closed 9 years ago

g2p commented 9 years ago

This should reduce noise from resource contention. https://docs.python.org/dev/library/timeit.html#timeit.Timer.repeat