Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #82279 > unrolled thread

Re: Nested loops is strangely slow, totally at a loss.

Started byPeter Otten <__peter__@web.de>
First post2014-12-10 11:49 +0100
Last post2014-12-10 11:49 +0100
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: Nested loops is strangely slow, totally at a loss. Peter Otten <__peter__@web.de> - 2014-12-10 11:49 +0100

#82279 — Re: Nested loops is strangely slow, totally at a loss.

FromPeter Otten <__peter__@web.de>
Date2014-12-10 11:49 +0100
SubjectRe: Nested loops is strangely slow, totally at a loss.
Message-ID<mailman.16807.1418208557.18130.python-list@python.org>
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.

[toc] | [standalone]


Back to top | Article view | comp.lang.python


csiph-web