lysdexic@programming.dev to Programming@programming.devEnglish · 11 months agoPush Ifs Up And Fors Downmatklad.github.ioexternal-linkmessage-square22fedilinkarrow-up156arrow-down16cross-posted to: hackernews@lemmy.smeargle.fanshackernews@derp.foo
arrow-up150arrow-down1external-linkPush Ifs Up And Fors Downmatklad.github.iolysdexic@programming.dev to Programming@programming.devEnglish · 11 months agomessage-square22fedilinkcross-posted to: hackernews@lemmy.smeargle.fanshackernews@derp.foo
minus-squareLmaydev@programming.devlinkfedilinkarrow-up3·edit-211 months 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.