Raymond Hettinger added the comment:
I'll take a look at it next week -- want to think through the various
cases. The current setup provides nice speedups when the length_hint
is available. Possibly, it may be worthwhile to skip that check when
the input is a generator. For the most part, I'm more concerned about
the inner-loop time than the constant startup time outside the loop.
Tracker <[EMAIL PROTECTED]>
Python-bugs-list mailing list