MCENANEY WILLIAM J wrote: > Since James is saying that recursive programs run slowly, I thought > I would mention an article about stackless recursion. If anybody > wants a copy of it, I'll find the paper and e-mail you a copy. If you are talking about transformin a recursive function to a loop then I don't think this is called recursion anymore. Most recursive functions can be transformed to loops, but many require some kind of stack to push intermediade values on. The reason why to use recursion is mostly simplicity. Certain kinds of functions is very simple spelled out as a recursive function, and complex when done non-recursive. --- Henrik Nordström
- Re: Pointers (again) MCENANEY WILLIAM J
- Re: Pointers (again) James
- Re: Pointers (again) Henk Jan Barendregt
- Re: Pointers (again) Karl F. Larsen
- Re: Pointers (again) James
- Re: Pointers (again) Glynn Clements
- Re: Pointers (again) James
- Re: Pointers (again) Glynn Clements
- For "speed freaks" MCENANEY WILLIAM J
- Re: For "speed freaks" Ted Maciag
- Re: For "speed freaks" Henrik Nordstrom
- Re: For "speed freaks&q... MCENANEY WILLIAM J
- Re: Pointers (again) Andrea Arcangeli
- Re: Pointers (again) James
- Re: Pointers (again) Glynn Clements
- Re: Pointers (again) James
- Re: Pointers (again) holotko
- Re: Pointers (again) Andrea Arcangeli
- Re: Pointers (again) holotko
- Re: Pointers (again) MCENANEY WILLIAM J
- Re: Pointers (again) Glynn Clements