347
4 billion if statements (andreasjhkarlsson.github.io)
you are viewing a single comment's thread
view the rest of the comments
[-] bjorney@lemmy.ca 18 points 1 year ago* (last edited 1 year ago)

Yeah but then ALL even numbers would be slow to compute because you would have to chain through every odd before you know that 2 is even.

Depends on the expected distribution of input values

this post was submitted on 28 Dec 2023
347 points (97.5% liked)

Programmer Humor

23147 readers
940 users here now

Welcome to Programmer Humor!

This is a place where you can post jokes, memes, humor, etc. related to programming!

For sharing awful code theres also Programming Horror.

Rules

founded 2 years ago
MODERATORS