count

Paul Rubin http
Wed Jul 8 17:45:53 EDT 2009


aahz at pythoncraft.com (Aahz) writes:
> >Avoid that len(tuple(g)), use something like the following, it's lazy
> >and saves some memory.
> The question is whether it saves time, have you tested it?

len(tuple(xrange(100000000))) ... hmm.



More information about the Python-list mailing list