lysdexic@programming.dev to Programming@programming.devEnglish · 2 years agoPush Ifs Up And Fors Downmatklad.github.ioexternal-linkmessage-square22fedilinkarrow-up156arrow-down16
arrow-up150arrow-down1external-linkPush Ifs Up And Fors Downmatklad.github.iolysdexic@programming.dev to Programming@programming.devEnglish · 2 years agomessage-square22fedilink
minus-squareLmaydev@programming.devlinkfedilinkarrow-up3·edit-22 years 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.