Ben Cantrick (mackys) wrote,
Ben Cantrick
mackys

The Rules Of Optimization Club


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."
Subscribe
  • Post a new comment

    Error

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 1 comment