464
submitted 2 months ago by sirico@feddit.uk to c/programmerhumor@lemmy.ml
you are viewing a single comment's thread
view the rest of the comments
[-] xthexder@l.sw0.com 6 points 2 months ago

Not even else if? Damn, I guess we're checking all the numbers every time then. This is what peak performance looks like

[-] lime@feddit.nu 7 points 2 months ago

O(1) means worst and best case performance are the same.

this post was submitted on 15 Jul 2025
464 points (94.8% liked)

Programmer Humor

38555 readers
132 users here now

Post funny things about programming here! (Or just rant about your favourite programming language.)

Rules:

founded 6 years ago
MODERATORS