Thank you developers for 2.3
Raymond Hettinger
vze4rx4y at verizon.net
Wed Jul 30 03:49:37 EDT 2003
"David Lees"
> Flawless install and it ran my very simple minded (try not to laugh)
> nested loop integer arithmetic benchmark twice as fast as 2.2.3
> version 2.3 5.04 sec
> version 2.2.3 9.77 sec
>
> import time
>
> def speedTest(N):
> t1 = time.time()
> k = 0
> for i in xrange(N):
> for j in xrange(N):
> k += (i+j)
>
> t2 = time.time()
> return t2-t1
>
> print speedTest(3000)
>
> david lees
You must really trust us.
The benchmark compares the speed
but doesn't check to see if the answers are the same ;-)
Raymond Hettinger
More information about the Python-list
mailing list