1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 08:43:09 +00:00
BadFish/src
joergoster a910ba71ee Simplify hashfull calculation.
We can simplify the calculation of the hashfull info by looping over exact 1,000 entries,
and then divide the result by ClusterSize. Somewhat memory accesses, somewhat more accurate.

Passed non-regression LTC
https://tests.stockfishchess.org/tests/view/5e30079dab2d69d58394fd5d
LLR: 2.94 (-2.94,2.94) {-1.50,0.50}
Total: 30125 W: 3987 L: 3926 D: 22212
Ptnml(0-2): 177, 2504, 9558, 2642, 141

closes https://github.com/official-stockfish/Stockfish/pull/2523

No functional change.
2020-01-28 19:25:39 +01:00
..
syzygy Assorted trivial cleanups January 2020 2020-01-09 21:57:21 +01:00
benchmark.cpp Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
bitbase.cpp Use a std::bitset for KPKBitbase 2020-01-23 18:20:11 +01:00
bitboard.cpp Rewrite initialization of PseudoMoves 2020-01-10 01:58:27 +01:00
bitboard.h Determine opposite colors mathematically 2020-01-23 17:59:03 +01:00
endgame.cpp Assorted trivial cleanups January 2020 2020-01-09 21:57:21 +01:00
endgame.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
evaluate.cpp Dynamic Complexity based on psqt 2020-01-27 18:14:10 +01:00
evaluate.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
main.cpp Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
Makefile Assorted trivial cleanups 2019-10-26 00:29:12 +02:00
material.cpp Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
material.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
misc.cpp Advise the kernel to use huge pages (Linux) 2020-01-27 11:16:10 +01:00
misc.h Advise the kernel to use huge pages (Linux) 2020-01-27 11:16:10 +01:00
movegen.cpp Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
movegen.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
movepick.cpp Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
movepick.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
pawns.cpp Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
pawns.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
position.cpp Simplify signature of remove_piece() 2020-01-23 17:31:45 +01:00
position.h Simplify signature of remove_piece() 2020-01-23 17:31:45 +01:00
psqt.cpp Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
search.cpp More bonus for bestMoves on past PV nodes 2020-01-28 16:28:56 +01:00
search.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
thread.cpp Smarter time management near stop limit 2020-01-12 22:37:24 +01:00
thread.h Smarter time management near stop limit 2020-01-12 22:37:24 +01:00
thread_win32_osx.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
timeman.cpp Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
timeman.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
tt.cpp Simplify hashfull calculation. 2020-01-28 19:25:39 +01:00
tt.h Advise the kernel to use huge pages (Linux) 2020-01-27 11:16:10 +01:00
types.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
uci.cpp Show compiler info at startup 2020-01-12 11:54:15 +01:00
uci.h Update lists of authors and contributors 2020-01-09 01:43:47 +01:00
ucioption.cpp Update lists of authors and contributors 2020-01-09 01:43:47 +01:00