Three Cool Things about D

Walter Bright via Digitalmars-d-announce digitalmars-d-announce at puremagic.com
Tue Dec 22 17:07:57 PST 2015


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.



More information about the Digitalmars-d-announce mailing list