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