Is Python really slow?

Fredrik Lundh effbot at telia.com
Sun May 28 08:27:53 EDT 2000


Alexander <alecdem at mit.edu> wrote:
> Actually I've created array and did something like this :
> 
> for k in xrange(1,10000):
>   for m in range(1,10000):
>     x[m] =  .... #some calculation of the value of an array's element x[m]
> 
> and this work's realy slow compared to C. I don't mind it working 3 times
> slower, but ..
> 
> Perhaps it is possible, to do something like  implementing loops in C inside
> Python ??

http://www.python.org/topics/scicomp/index.html

</F>




More information about the Python-list mailing list