codeinabox@programming.dev to Programming@programming.devEnglish · 1 day agoWhat's the point of lightweight code with modern computers?liam-on-linux.dreamwidth.orgexternal-linkmessage-square28fedilinkarrow-up148arrow-down14cross-posted to: lobsters
arrow-up144arrow-down1external-linkWhat's the point of lightweight code with modern computers?liam-on-linux.dreamwidth.orgcodeinabox@programming.dev to Programming@programming.devEnglish · 1 day agomessage-square28fedilinkcross-posted to: lobsters
minus-squareMalgas@beehaw.orglinkfedilinkEnglisharrow-up8arrow-down1·1 day 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.