bug-gnu-chess
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Optimization in Atak.c, AttackXFrom()


From: Chess
Subject: Optimization in Atak.c, AttackXFrom()
Date: Thu, 06 Mar 2003 00:00:14 -0600

Hello All.

Here's an optimization in Atak.c, AttackXFrom() :

/*    AttackXFrom() is _never_ called with pawn on sq
 *
 *    case pawn :
 *      b = MoveArray[ptype[side]][sq];
 *      break;
 *
 */

/* --- Mike --- */
 - - - - - - - - - - -
http://web.wt.net/~chess/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]