Skip to content

Instantly share code, notes, and snippets.

@waichee waichee/leaky.py
Last active Feb 11, 2019

Embed
What would you like to do?
import time
import random
# A dummy script which keeps increasing the number of string added to list a
thing = "hi"
a = []
for i in range(1000):
a.append(thing * random.randint(1000,2000))
time.sleep(0.1)
print "index: {}".format(i)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.