?

Log in

No account? Create an account
The Rules Of Optimization Club - Adventures in Engineering — LiveJournal
The wanderings of a modern ronin.

Ben Cantrick
  Date: 2008-02-27 12:05
  Subject:   The Rules Of Optimization Club
Public

There was a fun article on the usual sites about the rules of code optimization: http://fetter.org/optimization.html

I think their list is pretty good for the most part, but I have my own first two rules for code optimization club:

  1. The first rule of optimization club is, you do not optimize before profiling.
  2. The second rule of optimization club is, YOU DO NOT OPTIMIZE BEFORE PROFILING!

I particularly like their Rule #3: "If your app is running faster than the underlying transport protocol, the optimization is over."
Post A Comment | 1 Comment | | Link






Trevor Stone: java logo
  User: flwyd
  Date: 2008-02-28 22:08 (UTC)
  Subject:   (no subject)
Keyword:java logo
I always liked the steps of optimization as
  1. Don't optimize.
  2. (For experts only.) Don't optimize yet.
Reply | Thread | Link



browse
May 2015