codeinabox@programming.dev to Programming@programming.devEnglish · 3 days agoWhat's the point of lightweight code with modern computers?liam-on-linux.dreamwidth.orgexternal-linkmessage-square28fedilinkarrow-up152arrow-down16
arrow-up146arrow-down1external-linkWhat's the point of lightweight code with modern computers?liam-on-linux.dreamwidth.orgcodeinabox@programming.dev to Programming@programming.devEnglish · 3 days agomessage-square28fedilink
minus-squareMalgas@beehaw.orglinkfedilinkEnglisharrow-up9arrow-down1·3 days 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.