0

Hi
I need one example on regression. Also tell between recursion and regression which one is faster?

3
Contributors
2
Replies
3
Views
9 Years
Discussion Span
Last Post by Narue
0

Regression? Don't you mean iteration? Could be wrong, but according to wiki (I had to look it up) regression is bug-related, not loop related like recursion.

If you mean iteration, then that is faster. But, recursion could give you a lot cleaner code, so it's basically okay to write big functions recursive, large functions iterative.

0

>it's basically okay to write big functions recursive, large functions iterative
What if I want to write a large function recursive and a big function iterative? :D

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.