Skip to content

Instantly share code, notes, and snippets.

@supercavitation
Created September 4, 2013 04:15
Show Gist options
  • Save supercavitation/6432696 to your computer and use it in GitHub Desktop.
Save supercavitation/6432696 to your computer and use it in GitHub Desktop.
import numpy.random as random
N=100000000
u=[]
for y in range (0,N):
u.append(y)
print 'done'
x=0
while x<len(u):
x+=random.randint(1,N)
u.insert(random.randint(1,N/10),x)
print 'done'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment