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.