At some point, we have all heard a quote attributed to Donald Knuth, saying that:
Premature optimization is the root of all evil
There have been many fights over whether this applies, when is an optimization premature, and so on. This post is not meant to participate in these fights, but I do want to quote Donald Knuth in full before continuing:
Programmers waste enormous amounts of time thinking about, or worrying about, the...