r/ProgrammerHumor 1d ago

Meme iReplacedItWithABuiltinFunction

Post image
3.2k Upvotes

51 comments sorted by

View all comments

529

u/Chronomechanist 1d ago

To be fair a 96% reduction is pretty great regardless of how small the time is. In the time you could run that code once, you can now run it 25 times!

You now just need to figure out how many times you run that code every second and you'll see the point of all that work!

... Wait, what do you mean it's run once a month?

105

u/Solid_Turnover_9854 1d ago

one user too

32

u/StarshipSausage 1d ago

Priceless

20

u/shrodikan 1d ago

Wait. Actually this code is dead. We now call process_nightly() not nightly_process()!

6

u/xui_nya 1d ago

Nevermind that you probably introduced a regression that will cost weeks of debugging and a bunch of extremely angry customers.