@Daojoan Frustratingly true…and then this comes to mind
By XKCD: https://xkcd.com/1205
@basepair @Daojoan one of the befuddling things about software performance is how this plays out with *very* skewed numbers.
I recently spent about an hour to save about 2.7 nanoseconds each on a task that runs, conservatively, at least a trillion times per day. Even at the low end of the estimate the math works out!
Karaoke is both an exemplar and counter-example of this ethos.
From Donald Knuth:
“My mother is amazing to watch because she doesn't do anything efficiently, really: She puts about three times as much energy as necessary into everything she does. But she never spends any time wondering what to do next or how to optimize anything; she just keeps working. Her strategy, slightly simplified, is, "See something that needs to be done and do it." All day long. And at the end of the day, she's accomplished a huge amount.”
https://shuvomoy.github.io/blogs/posts/Knuth-on-work-habits-and-problem-solving-and-happiness/
This is certainly true of tasks that are a waste of time in the first place. The more interesting insight is that it's also true of tasks with intrinsic value. G.K. Chesterton said: "If a thing is worth doing at all, it's worth doing badly."