in reply to Re: understand and prevent 'Out of memory!' during sub recursion
in thread understand and prevent 'Out of memory!' during sub recursion

You can't instantly tell what the code is doing ... a very short subroutine would accomplish the same task

Except that Discipulus is already using a very short subroutine. So you are right in that you can't tell what the code is doing because you didn't spot that. map is perfectly fine - perhaps even ideal - in this context.

  • Comment on Re^2: understand and prevent 'Out of memory!' during sub recursion