unbalanced tree iteration issue

Ian Kelly ian.g.kelly at gmail.com
Fri Jan 14 13:19:01 EST 2011


2011/1/14 kost BebiX <k.bx at ya.ru>:
> Well, isn't tree is a root node and it's children?

And its grandchildren, great-grandchildren, etc.  What Alex is saying
is that the implementation you posted traverses the root and its
immediate children, but does not recur any further than that.  That is
why it was so fast.



More information about the Python-list mailing list