cm0002@lemmy.world to Programmer Humor@programming.dev · 21 hours agotimeoutSortlemmy.mlimagemessage-square30fedilinkarrow-up1410arrow-down13
arrow-up1407arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 21 hours agomessage-square30fedilink
minus-squarefilcuk@lemmy.ziplinkfedilinkarrow-up32·10 hours agoAs added benefit, you can then opyimise the code by dividing the number by 2, making it twice as fast. Think of the savings!
minus-squarelugal@lemmy.dbzer0.comlinkfedilinkarrow-up4·4 hours agoBetter yet: take the square root and you get a sub-linear run time
As added benefit, you can then opyimise the code by dividing the number by 2, making it twice as fast. Think of the savings!
Better yet: take the square root and you get a sub-linear run time