codeinabox@programming.dev to Programming@programming.devEnglish · 3 months agoWhat's the point of lightweight code with modern computers?liam-on-linux.dreamwidth.orgexternal-linkmessage-square28fedilinkarrow-up153
arrow-up153external-linkWhat's the point of lightweight code with modern computers?liam-on-linux.dreamwidth.orgcodeinabox@programming.dev to Programming@programming.devEnglish · 3 months agomessage-square28fedilink
minus-squareMalgas@beehaw.orglinkfedilinkEnglisharrow-up9·3 months agoI think the most obvious example is loop unrolling. An unrolled loop can be many times more code, but runs faster because you’re not updating a counter or doing conditional jumps.
I think the most obvious example is loop unrolling. An unrolled loop can be many times more code, but runs faster because you’re not updating a counter or doing conditional jumps.