[Python-ideas] Add lookahead iterator (peeker) to itertools
Serhiy Storchaka
storchaka at gmail.com
Tue Feb 26 10:44:36 CET 2013
On 26.02.13 11:23, Masklinn wrote:
> On 2013-02-26, at 10:19 , Serhiy Storchaka wrote:
>> My note is that if you create tee every iteration, this will lead to an linear increase in memory consumption and degradation of speed.
>
> I believe I also saw situations where I blew through the recursion limit
> by stacking too many tees, but I can't reproduce it right now.
http://bugs.python.org/issue13454 ?
More information about the Python-ideas
mailing list