cm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agotimeoutSortlemmy.mlimagemessage-square35linkfedilinkarrow-up1451arrow-down14cross-posted to: programmerhumor@lemmy.ml
arrow-up1447arrow-down1imagetimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 1 month agomessage-square35linkfedilinkcross-posted to: programmerhumor@lemmy.ml
minus-squarefilcuk@lemmy.ziplinkfedilinkarrow-up28·1 month 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-up5·1 month 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