Author: Dieter Buerssner
Date: 13:30:22 08/08/03
Go up one level in this thread
On August 08, 2003 at 16:15:26, Gerd Isenberg wrote: >Btw. if your row function is unsigned, it may cheaper to ask: > > if( (row(u)-1) < (7-1) ) Hmm, shouldn't it be if( ((unsigned)row(u)-2) < (7-2) ) Or even better if ((unsigned)u-16 < 5*16) So, that even the not too clever optimizer can see it? Regards, Dieter
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.