mirror of
https://github.com/opelly27/Stockfish.git
synced 2026-05-20 09:47:46 +00:00
Skip draw by repetition check in qsearch
Cut in half the time spent in pos.draw() that accounts for a whopping 1% of total time ! Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
+1
-1
@@ -228,7 +228,7 @@ public:
|
||||
|
||||
// Game termination checks
|
||||
bool is_mate() const;
|
||||
bool is_draw() const;
|
||||
template<bool SkipRepetition> bool is_draw() const;
|
||||
|
||||
// Number of plies from starting position
|
||||
int startpos_ply_counter() const;
|
||||
|
||||
Reference in New Issue
Block a user