Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 10 lines (6 sloc) 126 Bytes
# Test list comprehension
import time
n = 1000000000
s = time.time()
l = [i for i in range(n)]
print (time.time() - s)