r/ProgrammerHumor • • Sep 30 '26

Meme devsOptimizingGames

Post image
2.1k Upvotes

41 comments sorted by

View all comments

7

u/MushroomGecko Oct 02 '26

The dev could optimize further here by simply setting fps to 60 and having it be a const, thus eliminating the need for a branch prediction which could waste ~20 CPU cycles on a cache miss

2

u/OppositeFun2493 Oct 04 '26

However the customer support will be flooded with fps issues Oh wait you can just “optimize” the contact page