beginning index for generators
adalke at mindspring.com
Mon Oct 18 00:24:35 CEST 2004
Peter Otten wrote:
> As to itertools.islice(), anyone who throws away, say,
> the first 2**31 values of an iteration has probably other things than
> Python's limitations to worry about.
Personally I'm surprised to see that my two year old laptop
for i in xrange(0, sys.maxint):
in just over 7 minutes. It's like in the 1980s when I
realized that 16 bit numbers were small.
dalke at dalkescientific.com
More information about the Python-list