Delay killers[] initialization

Most of the time we cut-off earlier, at captures, so this
results in useless work.

There is a small functionality change becuase 'ss' can change
from MovePicker c'tor to when killers are tried due, for
instance, to singular search.

bench: 4603795
This commit is contained in:
Marco Costalba
2013-05-18 12:49:31 +02:00
parent 77547a4ef1
commit 38cfbeeb50
2 changed files with 13 additions and 13 deletions

View File

@@ -97,6 +97,7 @@ private:
const Position& pos;
const HistoryStats& history;
Search::Stack* ss;
Move* countermoves;
Depth depth;
Move ttMove;
MoveStack killers[4];