Author: Ed Schröder
Date: 23:40:46 01/01/03
Go up one level in this thread
On January 01, 2003 at 11:50:58, Lieven Clarisse wrote:
>I was wondering if there is a good book about how to write efficient C code. I
>am not talking about algorithms, but the way *how* to write things, eg
http://www.agner.org/assem/
Get this book: http://www.accu.org/bookreviews/public/reviews/z/z001445.htm
Ed
>which is faster :
>do {} while() or while () {}
>
>-------
>I know for instance that:
>
>ptr=&R[i];
>if((*ptr==3)||(*ptr==7)) {;}
>
>is faster then:
>
>if((R[i]==3)||(R[i]==7)) {;}
>
>Is there a good book that reviews all those kinds of tricks?
>
>regards,
>
>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.