On Wednesday, 23 December 2015 at 01:07:57 UTC, Walter Bright wrote:
On 12/22/2015 10:29 AM, David Nadlinger wrote:
Not sure about how it arrives at the crazily unrolled loop, but no recursion in
sight anymore.

It's doing tail recursion optimization, which turns the recursion into a loop.
Then the loop is unrolled 8 times.

You can't to tail recursion in it's basic form because there is a multiplication at the end.

Reply via email to