Computer Chess Club Archives


Search

Terms

Messages

Subject: Re: Optimizing C code for speed

Author: Lieven Clarisse

Date: 11:54:26 01/02/03

Go up one level in this thread


On January 02, 2003 at 13:51:39, Dann Corbit wrote:

>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*.


Thank you very much indeed! This is exactly what I am looking for. Together with
Ed you were the only one who actually answered my question :-). Thanks again.

Lieven



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.