this post was submitted on 21 Sep 2023
1259 points (94.8% liked)

Programmer Humor

19471 readers
1174 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
[–] 1024_Kibibytes@lemm.ee 14 points 1 year ago (1 children)

Increasing the CPU optimization by 0.02% does seem crazy to me. If you're going to spend time working on something, make it worthwhile. Also, isn't while(true) {print(money)} Microsoft, Apple and Amazon:s business model?

[–] dylanTheDeveloper@lemmy.world 3 points 1 year ago (2 children)

I mean if the CPU that's running these instructions is super low power then 0.02 might be worth it

[–] Gork@lemm.ee 4 points 1 year ago

Or if you're scaling a large cluster of CPUs for parallel computations where a 0.02% increase can make a tangible difference in runtimes.

[–] blackstrat@lemmy.fwgx.uk 2 points 1 year ago

Only if you'd removed and fixed all other bottlenecks that would gain you more than 0.02%. And I'm not convinced there are many if any projects of any reasonable size where that has been the case.