examples/simple1.py | raw changeset files shortlog |
1.1 --- a/examples/simple1.py Sat Sep 15 23:47:05 2007 +0000 1.2 +++ b/examples/simple1.py Sat Sep 15 23:48:26 2007 +0000 1.3 @@ -6,6 +6,7 @@ 1.4 """ 1.5 1.6 import time 1.7 +#import random 1.8 1.9 # Array size. 1.10 1.11 @@ -20,6 +21,7 @@ 1.12 A supposedly time-consuming calculation on 'i' and 'j'. 1.13 """ 1.14 1.15 + #time.sleep(delay * random.random()) 1.16 time.sleep(delay) 1.17 return i * N + j 1.18