Op Saturday 2 May 2015 11:10 CEST schreef Marko Rauhamaa: > Cecil Westerhof <ce...@decebal.nl>: >> I find factorial a lot cleaner code as factorial_iterative, so here >> tail recursion would be beneficial. > > I would just call math.factorial() and be done with it.
You missed the point. I did not need a factorial function, I wanted to show that tail optimisation could be beneficial. -- Cecil Westerhof Senior Software Engineer LinkedIn: http://www.linkedin.com/in/cecilwesterhof -- https://mail.python.org/mailman/listinfo/python-list