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.
In reply to Re^3: memory leak when using tail recursion?
by ikegami
in thread memory leak when using tail recursion?
by juddhuck
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |