merari42@lemmy.world to Programmer HumorEnglish · 1 year agoSome of my iterations are delightfully recursivelemmy.worldimagemessage-square54linkfedilinkarrow-up1524arrow-down110
arrow-up1514arrow-down1imageSome of my iterations are delightfully recursivelemmy.worldmerari42@lemmy.world to Programmer HumorEnglish · 1 year agomessage-square54linkfedilink
minus-squareaubeynarf@lemmynsfw.comlinkfedilinkarrow-up2·1 year 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.