this post was submitted on 28 Dec 2023
4 points (100.0% liked)

Programmer Humor

19570 readers
1649 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 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
[โ€“] [email protected] 0 points 10 months ago (1 children)

I like this bit at the end:

As a side note, the program is amazingly performant. For small numbers the results are instantaneous and for the large number close to the 2^32 limit the result is still returned in around 10 seconds.

[โ€“] [email protected] 0 points 10 months ago

Really makes you question your sanity when optimizing jumps in code without benchmarks.