MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/ProgrammerHumor/comments/1w3qfc8/ireplaceditwithabuiltinfunction/p72d8pj/?context=3
r/ProgrammerHumor • u/Bright-Historian-216 • 1d ago
51 comments sorted by
View all comments
529
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.
105
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()!
32
Priceless
20
Wait. Actually this code is dead. We now call process_nightly() not nightly_process()!
6
Nevermind that you probably introduced a regression that will cost weeks of debugging and a bunch of extremely angry customers.
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?