Is Python really slow?

Alexander alecdem at mit.edu
Sat May 27 19:16:56 CEST 2000


Makhno wrote:

> >I have implemented  loop in Python
> >
> >for k in xrange(1,100000000):
> >   pass
>
> Does xrange create an array of numbers 1...1e8?

Yes, it does




More information about the Python-list mailing list