Destide ( sirico@feddit.uk ) to Programmer Humor@lemmy.mlEnglish · 1 year agoInfallible Codelemmy.mlimagemessage-square36linkfedilinkarrow-up1273
arrow-up1273imageInfallible Codelemmy.mlDestide ( sirico@feddit.uk ) to Programmer Humor@lemmy.mlEnglish · 1 year agomessage-square36linkfedilink
minus-squarexthexder ( xthexder@l.sw0.com ) linkfedilinkarrow-up5·1 year agoNot even else if? Damn, I guess we’re checking all the numbers every time then. This is what peak performance looks like
minus-squarelime! ( lime@feddit.nu ) linkfedilinkEnglisharrow-up5·1 year agoO(1) means worst and best case performance are the same.
Not even else if? Damn, I guess we’re checking all the numbers every time then. This is what peak performance looks like
O(1) means worst and best case performance are the same.