examples/simple.py | raw changeset files shortlog |
1.1 --- a/examples/simple.py Sat Sep 15 23:47:05 2007 +0000 1.2 +++ b/examples/simple.py Sat Sep 15 23:48:26 2007 +0000 1.3 @@ -5,6 +5,7 @@ 1.4 """ 1.5 1.6 import time 1.7 +#import random 1.8 1.9 # Array size. 1.10 1.11 @@ -26,6 +27,7 @@ 1.12 print "Calculating..." 1.13 for i in range(0, N): 1.14 for j in range(0, N): 1.15 + #time.sleep(delay * random.random()) 1.16 time.sleep(delay) 1.17 results[i*N+j] = i * N + j 1.18