461
you are viewing a single comment's thread
view the rest of the comments
[-] xthexder@l.sw0.com 6 points 3 weeks 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 3 weeks ago

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

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

Programmer Humor

37637 readers
295 users here now

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

Rules:

founded 6 years ago
MODERATORS