Share via


Premature optimization is the root of all evil

Larry Osterman posted a blog about optimization https://blogs.msdn.com/LarryOsterman/archive/2004/05/03/125198.aspx.

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

And I posted an interesting article about optimization in his comment. https://www.flounder.com/optimization.htm. It simply emphasizes the point again.

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

Comments

  • Anonymous
    May 04, 2004
    Here is the same article on my favorite site: http://www.codeproject.com/tips/optimizationenemy.asp :-)
  • Anonymous
    May 04, 2004
    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 :)
  • Anonymous
    May 04, 2004
    But remember the corollary: "Belated pessimization is the leaf of no good."
  • Anonymous
    May 04, 2004
    The comment has been removed