@[email protected] to Programmer [email protected]English • 2 months agoSome of my iterations are delightfully recursivelemmy.worldmessage-square53fedilinkarrow-up1516
arrow-up1516imageSome of my iterations are delightfully recursivelemmy.world@[email protected] to Programmer [email protected]English • 2 months agomessage-square53fedilink
minus-square@aubeynarflink2•2 months agoNot just calls to self - any time a function’s last operation is to call another function and return its result (a tail call), tail call elimination can convert it to a goto/jump.
Not just calls to self - any time a function’s last operation is to call another function and return its result (a tail call), tail call elimination can convert it to a goto/jump.