Use Movepick SEE value in search

This halves the calls to the costly pos.see_sign(),
speed up is about 1-1.3%

Non functional change.
This commit is contained in:
Marco Costalba
2016-09-09 08:38:44 +02:00
parent d909d10f33
commit 602d7fbb07
3 changed files with 8 additions and 1 deletions

View File

@@ -104,6 +104,7 @@ public:
MovePicker(const Position&, Move, Depth, Search::Stack*);
Move next_move();
int see_sign() const;
private:
template<GenType> void score();