lysdexic@programming.dev to Programming@programming.devEnglish · 1 year agoPush Ifs Up And Fors Downmatklad.github.ioexternal-linkmessage-square22fedilinkarrow-up156arrow-down16cross-posted to: hackernews@lemmy.smeargle.fans
arrow-up150arrow-down1external-linkPush Ifs Up And Fors Downmatklad.github.iolysdexic@programming.dev to Programming@programming.devEnglish · 1 year agomessage-square22fedilinkcross-posted to: hackernews@lemmy.smeargle.fans
minus-squareLmaydev@programming.devlinkfedilinkarrow-up3·edit-21 year agoThey’re talking about moving the calculation of the if condition outside of the loop. Which the original commenter mentioned. https://en.m.wikipedia.org/wiki/Loop-invariant_code_motion You are the one that brought up dead code elimination.
They’re talking about moving the calculation of the if condition outside of the loop. Which the original commenter mentioned. https://en.m.wikipedia.org/wiki/Loop-invariant_code_motion
You are the one that brought up dead code elimination.