From: Fabian Fichter Date: Sat, 18 Feb 2023 14:20:00 +0000 (+0100) Subject: Limit depth for all=yes to reduce stack usage X-Git-Url: http://winboard.nl/cgi-bin?a=commitdiff_plain;h=104d2f40e4d064815d6b06d0c812aec3b7b01f20;p=fairystockfish.git Limit depth for all=yes to reduce stack usage Partially addresses #583. --- diff --git a/src/types.h b/src/types.h index 4231ede..261d49e 100644 --- a/src/types.h +++ b/src/types.h @@ -229,10 +229,11 @@ constexpr int SQUARE_BITS = 6; #ifdef ALLVARS constexpr int MAX_MOVES = 8192; +constexpr int MAX_PLY = 60; #else constexpr int MAX_MOVES = 1024; -#endif constexpr int MAX_PLY = 246; +#endif /// A move needs 16 bits to be stored ///