Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Optimizing C code for speed

Author: Dann Corbit

Date: 10:51:39 01/02/03

Go up one level in this thread


Book: "C Unleashed"
http://users.powernet.co.uk/eton/unleashed/

Chapter 3:
3 Optimization (Mike Lee)
Very well written.
Here is a brief web page by the same person:
http://www.leto.net/docs/C-optimization.html

Here is another guy who actually knows what he is talking about:
http://www.azillionmonkeys.com/qed/optimize.html

Most pages on C optimization are PURE NONESENSE.

Rule #1:
The best way to optimize is to choose a better algorithm.  By a landslide.

Rule #2: (When to optimize a patch of code):
Don't do it.

Rule #3: (for experts only):
Don't do it *yet*.



This page took 0 seconds to execute

Last modified: Thu, 15 Apr 21 08:11:13 -0700

Current Computer Chess Club Forums at Talkchess. This site by Sean Mintz.