Algorithmic complexity of len (list)?

Peter Otten __peter__ at web.de
Tue Jul 6 22:43:19 CEST 2004


Roy Smith wrote:

> (or even idempotently, it would appear).  If they didn't think getting
> the length of an iterator was important, then maybe they didn't think
> getting the length of a list was important either.

They might think *not* getting the length of an iterator is important.

Peter




More information about the Python-list mailing list