[Python-Dev] Lukewarm about range literals (original) (raw)
Skip Montanaro skip@mojam.com (Skip Montanaro)
Tue, 29 Aug 2000 09:55:49 -0500 (CDT)
- Previous message: [Python-Dev] SETL (was: Lukewarm about range literals)
- Next message: [Python-Dev] Lukewarm about range literals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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💯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
- Previous message: [Python-Dev] SETL (was: Lukewarm about range literals)
- Next message: [Python-Dev] Lukewarm about range literals
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]