Retire pv[] from SearchStack

Extract PV info from TT instead of using
a set of arrays. This is almost equivalent
except for cases when TT is full and the PV entry
is overwritten, but this is very rare.

(Almost) No functional change

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-06-26 15:05:38 +01:00
parent 0a687b2cf0
commit adb43cc0cc
3 changed files with 38 additions and 51 deletions

View File

@@ -50,7 +50,6 @@ const int KILLER_MAX = 2;
struct EvalInfo;
struct SearchStack {
Move pv[PLY_MAX_PLUS_2];
Move currentMove;
Move mateKiller;
Move threatMove;