efficiency of range() and xrange() in for loops

Azolex cretin at des.alpes.ch
Wed Apr 5 20:33:16 EDT 2006


Steve R. Hastings wrote:
> On Thu, 06 Apr 2006 09:08:45 +1000, Steven D'Aprano wrote:
>> Yes, the above example is a good use case for xrange. Did you think that
>> anyone denied that there were good cases for it?
> 
> I am now officially sorry for starting this thread.

Don't. It's quite funny, thanks.



More information about the Python-list mailing list