in reply to Re^3: memory leak when using tail recursion?
in thread memory leak when using tail recursion?
This type of optimization falls into the category of unrolling loops. If your language doesn't do it for you, trying to do it yourself can be prone to error. If you are interested in computer science, reading the links I sent may be of use.
Cheers - L~R
|
|---|