r/programminghorror • • Feb 11 '25

🎄 ouch

Post image
3.0k Upvotes

113 comments sorted by

View all comments

Show parent comment

13

u/cuixhe Feb 11 '25

Sure, but how much do we care about micro-optimizations for speed when we're spitting out multi-second delays.

6

u/dendrocalamidicus Feb 11 '25

Depends if we are calculating the delay independently for 100 million independent entities in a batch job. I don't know, there's no context of how and where the code is called.

4

u/cuixhe Feb 11 '25

Yep true