xrange question

Emile van Sebille emile at fenx.com
Wed May 9 01:00:48 EDT 2001


I always use range for small and xrange for large

its-my-definition-of-large-and-small-that-changes-ly y'rs,.

(nb - the sig line is Tim's fault, much as we here in California would like
to blame it on St Andreas)

--

Emile van Sebille
emile at fenx.com

---------
"Greg Ewing" <see at my.signature> wrote in message
news:3AF8BAF0.424097A4 at my.signature...
> Alex Martelli wrote:
> >
> > "Tim Peters" <tim.one at home.com> wrote in message
> > news:mailman.989291471.16806.python-list at python.org...
> > So pick one by flipping
> > a
> > > coin, stick with it, and feel free to blame me if it turns out you
picked
> > the
> > > wrong one.
> >
> > I always use range() -- and it's all Tim Peters' fault, darn it!
>
> I always use xrange() -- and *that's* Tim's fault too!
>
> --
> Greg Ewing, Computer Science Dept, University of Canterbury,
> Christchurch, New Zealand
> To get my email address, please visit my web page:
> http://www.cosc.canterbury.ac.nz/~greg





More information about the Python-list mailing list