V. Armando Solé skrev:
> import numpy
> import time
> a=numpy.arange(1000000.)
> a.shape=1000,1000
> t0=time.time()
> b=numpy.dot(a.T,a)
> print "Elapsed time = ",time.time()-t0
>
> reports an "Elapsed time" of 1.4 seconds under python 2.5 and 15 seconds 
> under python 2.6
>   
My computer reports 0.34 seconds (Pytin 2.6.2, Win32).


S.M.
_______________________________________________
NumPy-Discussion mailing list
NumPy-Discussion@scipy.org
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to