]> git.sesse.net Git - stockfish/commitdiff
Increase MAX_PLY from 100 to 256
authorMarco Costalba <mcostalba@gmail.com>
Sat, 18 Feb 2012 09:16:01 +0000 (10:16 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 18 Feb 2012 09:16:01 +0000 (10:16 +0100)
There is no need to limit the maximum ply searched to
100, with deep exclusion search extensions we could
reach it even with much smaller search depths.

The only drawback is an increase in stack usage, but
is limited mainly to id_loop(), in particular the
recursive search() functions are not affected.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/types.h

index 85fddc271df52d518c5e87a12a350aece37efe83..10642ad39f240e5e04198a61884069c16e7af1a3 100644 (file)
@@ -99,7 +99,7 @@ typedef uint64_t Key;
 typedef uint64_t Bitboard;
 
 const int MAX_MOVES      = 256;
-const int MAX_PLY        = 100;
+const int MAX_PLY        = 256;
 const int MAX_PLY_PLUS_2 = MAX_PLY + 2;
 
 const Bitboard FileABB = 0x0101010101010101ULL;