codeinabox ( codeinabox@programming.dev ) to Programming@programming.devEnglish · 10 months agoWhat's the point of lightweight code with modern computers?liam-on-linux.dreamwidth.orgexternal-linkmessage-square8linkfedilinkarrow-up132
arrow-up132external-linkWhat's the point of lightweight code with modern computers?liam-on-linux.dreamwidth.orgcodeinabox ( codeinabox@programming.dev ) to Programming@programming.devEnglish · 10 months agomessage-square8linkfedilink
minus-squareMalgas ( Malgas@beehaw.org ) linkfedilinkEnglisharrow-up9·10 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.