cm0002@lemmy.world to Programmer Humor@programming.dev · 13 days agotimeoutSortlemmy.mlexternal-linkmessage-square36linkfedilinkarrow-up1475arrow-down14
arrow-up1471arrow-down1external-linktimeoutSortlemmy.mlcm0002@lemmy.world to Programmer Humor@programming.dev · 13 days agomessage-square36linkfedilink
minus-squarefilcuk@lemmy.ziplinkfedilinkarrow-up35·13 days 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·13 days 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