Comment Comment by MrMeker Not really. "range" returns a list, "xrange" returns an iterator. I assume that the list is much easier to reason about in a JIT. In python3, range is a type of its own and certainly more useful for in a JIT.https://docs.python.org/3/library/stdtypes.html#typesseq-ran...https://docs.python.org/2/library/functions.html#range parent MrMeker 12 years ago
https://docs.python.org/3/library/stdtypes.html#typesseq-ran...
https://docs.python.org/2/library/functions.html#range