Is Python really slow?

ben at co.and.co ben at co.and.co
Sat May 27 13:12:58 EDT 2000


Alexander <alecdem at mit.edu> wrote:
> 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
> 
No, it doesn't.

Greetings,
-- 
ben . de . rydt at pandora . be ------------------ your comments
http://users.pandora.be/bdr/ ------- inl. IPv6, Linux en Pandora




More information about the Python-list mailing list