Is Python really slow?

Brian noreply at nospam.org
Sat May 27 17:33:56 CEST 2000


Not really a realistic comparison.  Check out this language performance
study:
http://wwwipd.ira.uka.de/~prechelt/Biblio/jccpprtTR.pdf

"Alexander" <alecdem at mit.edu> wrote in message
news:392F8286.13371C4E at mit.edu...
> Hi
>
> I have implemented  loop in Python
>
> for k in xrange(1,100000000):
>    pass
>
> and the same one in  C
> for ( i = 0 ; i < 1e8; i++ ) ;
>
> and the second one seems to be working hundreds of times faster than the
> first one
>
> Can I do anything with that.
>
> Thank you
>
>





More information about the Python-list mailing list