Is Python really slow?
alecdem at mit.edu
Sat May 27 19:52:43 CEST 2000
> >>> Does xrange create an array of numbers 1...1e8?
> >> Yes, it does
> >No, it doesn't.
> Well, if it did create an array Matlab-style, then that would account for
> why the C routine was faster.
That was just an example. actually I used
I also tryed while loop
and it was not empty loop,
in all of those cases C was ~100 times faster than Python
More information about the Python-list