News for hackers. Stuff that matters.
Re:On calculating Fibonacci numbers in C by aeon10 on Tuesday January 29, 2013 @06:29AM (#5133405)
Just a note, In the iterative solution, by changing the i (loop variable) from an int to an long int the times by both iterative and recursive are almost equal. Here are the new results

[Recursive - 7921 ms], [Iteratiive - 8078 ms]

So the difference is negligible.

There are no comments on this comment yet.