mirror of
https://github.com/sockspls/badfish
synced 2025-07-11 19:49:14 +00:00
Document why we don't use TT to prune in search_pv()
From a Joona' s post on talkchess. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
parent
5ea8167921
commit
6ae30e7cb1
1 changed files with 8 additions and 1 deletions
|
@ -1121,7 +1121,14 @@ namespace {
|
|||
return alpha;
|
||||
|
||||
// Transposition table lookup. At PV nodes, we don't use the TT for
|
||||
// pruning, but only for move ordering.
|
||||
// pruning, but only for move ordering. This is to avoid problems in
|
||||
// the following areas:
|
||||
//
|
||||
// * Repetition draw detection
|
||||
// * Fifty move rule detection
|
||||
// * Searching for a mate
|
||||
// * Printing of full PV line
|
||||
//
|
||||
tte = TT.retrieve(pos.get_key());
|
||||
ttMove = (tte ? tte->move() : MOVE_NONE);
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue