Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist
View gist:1472334
1 2 3 4 5 6 7 8
In [1]: %timeit sum([(0, 0)] * 1000, ())
100 loops, best of 3: 5.01 ms per loop
 
In [2]: %timeit sum([(0, 0)] * 10000, ())
1 loops, best of 3: 490 ms per loop
 
In [3]: %timeit sum([(0, 0)] * 100000, ())
1 loops, best of 3: 61.9 s per loop
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.