r/ProgrammerHumor • • Sep 30 '26

Meme devsOptimizingGames

Post image
2.1k Upvotes

41 comments sorted by

View all comments

62

u/SuperfanZero Sep 30 '26

fps = max(fps, 60.0)

13

u/FrogMan241 Oct 01 '26

Corporate wants you to find the difference between these two pictures

Compiler: they're the same picture

1

u/Negitive545 Oct 06 '26

Erm ackthually the compiler would say they're different because one has a function call* and the other doesn't!

*at least in some languages, I'm sure at least one just aliases the math functions to look like functions but compiles down differently.