dhruv3006@lemmy.world to Programmer Humor@programming.dev · 24 days agoAmazon AIlemmy.worldimagemessage-square74linkfedilinkarrow-up1817arrow-down17
arrow-up1810arrow-down1imageAmazon AIlemmy.worlddhruv3006@lemmy.world to Programmer Humor@programming.dev · 24 days agomessage-square74linkfedilink
minus-squareSiethron@lemmy.worldlinkfedilinkarrow-up17·24 days agoIf 1 no else if 2 yes else if 3 no…
minus-squareprime_number_314159@lemmy.worldlinkfedilinkarrow-up1·23 days agoAre you working with 20 bit integers? You’ll never get it down to a million lines like that… There’s a million lines of If >4096, subtract 4096 Then a quick lookup case statement for whether the remaining number is even.
If 1 no else if 2 yes else if 3 no…
Exactly…
Are you working with 20 bit integers? You’ll never get it down to a million lines like that…
There’s a million lines of If >4096, subtract 4096
Then a quick lookup case statement for whether the remaining number is even.