I pulled the random import out of the code - I think that's a performance improvement?
Instead of changing the code I added a new file which runs by default 100,000 crossings, with between 0 (stream does not exist :) ) and 200 hops required, generating an interesting histogram for each group of 100,000 crossings.
I pulled the random import out of the code - I think that's a performance improvement?
Instead of changing the code I added a new file which runs by default 100,000 crossings, with between 0 (stream does not exist :) ) and 200 hops required, generating an interesting histogram for each group of 100,000 crossings.