Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #82279
| From | Peter Otten <__peter__@web.de> |
|---|---|
| Subject | Re: Nested loops is strangely slow, totally at a loss. |
| Date | 2014-12-10 11:49 +0100 |
| Organization | None |
| References | <20141210052025.GA84184@FuzzyHorror> <20141210100321.GA85006@FuzzyHorror> |
| Newsgroups | comp.lang.python |
| Message-ID | <mailman.16807.1418208557.18130.python-list@python.org> (permalink) |
Shiyao Ma wrote: > Thanks guys. > > I was only aware of a limited iterables which themselves are iterators, > e.g., the generator. > > Seems like its really a pitfall. Any glossary, list on the iterables that > *might* exhaust themselves? Usually the test iterable is iter(iterable) returns True only for iterators.
Back to comp.lang.python | Previous | Next | Find similar | Unroll thread
Re: Nested loops is strangely slow, totally at a loss. Peter Otten <__peter__@web.de> - 2014-12-10 11:49 +0100
csiph-web