[issue1045] Performance regression in 2.5

Raymond Hettinger report at bugs.python.org
Tue Nov 27 19:12:26 CET 2007


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 <report at bugs.python.org>
<http://bugs.python.org/issue1045>
__________________________________


More information about the Python-bugs-list mailing list