Premature optimization is the root of all evil

Larry Osterman posted a blog about optimization

It simply says”Premature optimization is the root of all evil”!

And I posted an interesting article about optimization in his comment. It simply emphasizes the point again.

Know your scenario, measure your scenario, then optimize the bottleneck.

Comments (5)

  1. Uwe says:

    Here is the same article on my favorite site: 🙂

  2. Thanks Junfeng. I had mentioned Joe’s article in a comment on another of my posts, but forgot to include it in my post.

    Btw, curious coincidence: Joe was my wife’s boss many many years ago back at Tartan Labs 🙂

  3. Dennis says:

    But remember the corollary: "Belated pessimization is the leaf of no good."

  4. Wallym says:

    yep, I am stuck with someone else’s premature optimization. It is a killer. All this crap has been done to make sure that their "percieved" problem’s don’t kill the application. Well, I just did a straight coding change and my stuff is 10x times faster.