# Paul Rubin's version
[EMAIL PROTECTED]:~$ python -mtimeit "import test2" "test2.primes(1000)"
100 loops, best of 3: 14.3 msec per loop

# version from the Cookbook
[EMAIL PROTECTED]:~$ python -mtimeit "import test1" "test1.primes(1000)"
1000 loops, best of 3: 528 usec per loop

-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to