Iteration over recursion?
MTD
marc.t.davies at gmail.com
Wed Jun 21 07:58:13 EDT 2006
More information about the Python-list mailing list
Wed Jun 21 07:58:13 EDT 2006
- Previous message (by thread): Iteration over recursion?
- Next message (by thread): Iteration over recursion?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I've been testing my recursive function against your iterative function, and yours is generally a quite steady 50% faster on factorizing 2**n +/- 1 for 0 < n < 60. I think that, for a challenge, I'll try to make a recursive function that matche or beats the iterative function -- it's worth the experiment! Cheers, MTD
- Previous message (by thread): Iteration over recursion?
- Next message (by thread): Iteration over recursion?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-list mailing list