Permalink
Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 11 lines (8 sloc) 199 Bytes
# Test append items
import time
n = 1000000000
lst = []
start = time.time()
for i in xrange(n):
lst.append(1)
print("append: n={n} elapsed seconds= {e}".format(n=n, e=time.time() - start))