Pradu wrote:I've started rewritng my chess engine and I would like to know if anyone can direct me to some good resources on the web or any good books about creating high performance programs in C.
After a good time searching on google for
Performance Programming in C, I haven't found anything decisive.
Dominatingly, by far, the best way to improve performance is to improve the algorithm. The best way to improve the algorithm is to analyze it for O(f(n)) performance and then improve that metric.
This link is well above average:
http://www.azillionmonkeys.com/qed/optimize.html
Mike Lee has a nice chapter on optimization in the book "C Unleashed". You can probably find a copy at your local library.