Re:Fibonacci(50) Performance: Java C C++ D Go Terra (Lu...
by senthadev on Monday October 20, 2014 @08:46AM
(#8481803)
You should try to implement the Fib with tail call and then test it. http://en.wikipedia.org/wiki/Tail_call
[ Parent
| on HN ]
Re:Fibonacci(50) Performance: Java C C++ D Go Terra (Lu...
by dozzie on Monday October 20, 2014 @09:07AM
(#8481898)
First he should implement it properly, remembering last two values at any time. His way is just plain outrageous.