From: Ruby Newbie Date: 2007-09-19T16:03:44+09:00 Subject: Re: Faster Alternatives for Recursion in Ruby -Assignment Peter Hickman wrote: > Ruby Newbie wrote: >> I have the following assignment to be done.I have written the recursive >> API > > Whats a "recursive API"? You are talking nonsense here. All you have > done is write a recursive version and an iterative version of a > function. An API is something entirely different. > > The first thing you need to do is time your code and prove that one is > faster than the other, on my system they are practically identical. First of all its not function its a method in ruby terms. If you care too much about terminology better get it rite yourself first -- Posted via http://www.ruby-forum.com/.