How to use generators?

Ian Vincent i_vincent at hotmail.com
Thu Nov 10 09:33:20 CET 2005


Tom Anderson <twic at urchin.earth.li> wrote in
news:Pine.LNX.4.62.0511091853420.25586 at urchin.earth.li: 
> 
> Exactly - using a queue means you'll do a breadth-first rather than a 
> depth-first search, which will involve much less depth of recursion.
> See: 

Thanks for the answers but found a easier (admittedly cheating) way around 
the problem....run the code on my 64bit Linux system at home.



More information about the Python-list mailing list