]> git.sesse.net Git - stockfish/commitdiff
Set HistoryMax infinitely high
authorJoona Kiiski <joona.kiiski@gmail.com>
Sun, 9 Jan 2011 16:38:55 +0000 (18:38 +0200)
committerMarco Costalba <mcostalba@gmail.com>
Fri, 14 Jan 2011 18:13:22 +0000 (19:13 +0100)
Respin this old idea. Earlier we tried only
with < 1000 games and result was inconclusive.

After 5845 games
Mod vs Orig: 935 - 936 - 3974 ELO (+-3.6)

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/history.h

index 3fb74134466c272c08185476f918f558873e676c..ce87b7e137e03ba002636b5c47741a0df01db168 100644 (file)
@@ -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);
 
 
 ////