nave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 8 months agoI wishi.imgur.comimagemessage-square182fedilinkarrow-up1913arrow-down117
arrow-up1896arrow-down1imageI wishi.imgur.comnave@lemmy.zip to Lemmy Shitpost@lemmy.worldEnglish · 8 months agomessage-square182fedilink
minus-squareKaryoplasma@discuss.tchncs.delinkfedilinkarrow-up7arrow-down3·edit-28 months agoDon’t use recursion. Each call will need to allocate a new stack frame which leads to a slower runtime than an iterative approach in pretty much any language.
Don’t use recursion. Each call will need to allocate a new stack frame which leads to a slower runtime than an iterative approach in pretty much any language.
TCO baby