in reply to Re^2: memory leak when using tail recursion?
in thread memory leak when using tail recursion?
The exact same build.
The memory usage does go up for each recursive call to bar (which is why I had to lower the max value for $i), but it does get reclaimed.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^4: memory leak when using tail recursion?
by Limbic~Region (Chancellor) on Feb 14, 2007 at 00:14 UTC | |
by ikegami (Patriarch) on Feb 14, 2007 at 00:20 UTC | |
by juddhuck (Acolyte) on Feb 14, 2007 at 00:29 UTC | |
by ikegami (Patriarch) on Feb 14, 2007 at 00:38 UTC | |
by ikegami (Patriarch) on Mar 15, 2007 at 01:05 UTC |