X-Git-Url: https://git.sesse.net/?p=stockfish;a=blobdiff_plain;f=src%2Fhistory.h;h=ce87b7e137e03ba002636b5c47741a0df01db168;hp=3fb74134466c272c08185476f918f558873e676c;hb=d6fdd4f6d95a2a958a73484fb7505460b12af28e;hpb=b85bcc039cddd1c03967096bdd4dbfff709f2935 diff --git a/src/history.h b/src/history.h index 3fb74134..ce87b7e1 100644 --- a/src/history.h +++ b/src/history.h @@ -70,8 +70,9 @@ private: /// the effect that parts of the search tree which have been searched /// recently have a bigger importance for move ordering than the moves which /// have been searched a long time ago. +/// Current policy is to set this as high as possible, but avoid overflow. -const int HistoryMax = 50000 * ONE_PLY; +const int HistoryMax = (1 << 28); ////