Move ply to SearchStack

Shrink search() signature for better readibility.

We get also a nice 1.3% speed increase.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2011-04-16 14:41:53 +01:00
parent 5ba85ef441
commit 076b62310e
2 changed files with 44 additions and 45 deletions

View File

@@ -32,6 +32,7 @@ struct EvalInfo;
struct SplitPoint;
struct SearchStack {
int ply;
Move currentMove;
Move mateKiller;
Move excludedMove;