On Wednesday, 20 August 2014 at 21:30:41 UTC, Etienne wrote:
So, my question inspired a new optimization? :-p
A decent optimizing compiler would detect that the function is calling itself and save stack space by using register where possible...
Ola Fosheim Gr via Digitalmars-d-learn Wed, 20 Aug 2014 15:25:23 -0700
On Wednesday, 20 August 2014 at 21:30:41 UTC, Etienne wrote:
So, my question inspired a new optimization? :-p
A decent optimizing compiler would detect that the function is calling itself and save stack space by using register where possible...