Skip to content

Instantly share code, notes, and snippets.

@armohamm
Forked from waichee/leaky.py
Created September 24, 2020 00:25
Show Gist options
  • Save armohamm/68149c5d45a92bd9490cbb2fc5414ca7 to your computer and use it in GitHub Desktop.
Save armohamm/68149c5d45a92bd9490cbb2fc5414ca7 to your computer and use it in GitHub Desktop.
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