Tuesday, November 13, 2007

Some points on Optimization

The first rule of optimization is: Don't do it. The second rule of optimization (for experts only) is: Don't do it yet. Measure twice, optimize once.

Premature optimization is the root of all evil --Donald Knuth[quoting Hoare]

It is far, far easier to make a correct program fast than it is to make a fast program correct.

-- Coding 101(Ch.8)

No comments:

Post a Comment