On Wed, 28 May 2008 02:28:54 -0700, bearophileHUGS wrote: > Dennis Lee Bieber, the ghost: >> I'd have to wonder why so many recursive calls? > > Why not?
Because of the recursion limit of course. And function call overhead in Python is quite high compared to an iterative approach. Ciao, Marc 'BlackJack' Rintsch -- http://mail.python.org/mailman/listinfo/python-list