[Python-Dev] Lukewarm about range literals

Skip Montanaro skip@mojam.com (Skip Montanaro)
Tue, 29 Aug 2000 09:55:49 -0500 (CDT)


One of the original arguments for range literals as I recall was that
indexing of loops could get more efficient.  The compiler would know that
[0:100:2] represents a series of integers and could conceivably generate
more efficient loop indexing code (and so could Python2C and other compilers
that generated C code).  This argument doesn't seem to be showing up here at
all.  Does it carry no weight in the face of the relative inscrutability of
the syntax?

Skip