text_combined: alexander belopolsky ynarxoxgakwehevgynagmailcom correction calculation correct n 1 case general two alternatives create n2 vs n1 auxiliary objects tue apr 29 2008 1053 pm alexander belopolsky wrote tue apr 29 2008 1036 pm guido van rossum wrote good reasons range return iterable iterator eg r rangen r j r realize snippet whatever cycles save creating r give away creating iterr twice compared range returning iterator write rangen j rangen 3 vs 2 auxiliary objects created often see code benefit generalized square rectangular matrices lots c code go away nix range object leave rangeiterator _______________________________________________ python3000 mailing list smsbmo9552pythonorg httpmailpythonorgmailmanlistinfopython3000 unsubscribe httpmailpythonorgmailmanoptionspython3000python300040tangomucom fri 08 aug 2008 003521 0400 python3000 range issues