1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 16:53:09 +00:00
BadFish/src
Stefano Cardanobile bd4d2b0576 First check threshold in space evaluation
Currently, we first calculate some bitboards at the top of Evaluation::space()
and then check whether we actually need them. Invert the ordering. Of course this
does not make a difference in current master because the constexpr bitboard
calculations are in fact done at compile time by any decent compiler, but I find
my version a bit healthier since it will always meet or exceed current implementation
even if we eventually change the spaceMask to something not contsexpr.

No functional change.
2018-08-08 17:58:41 +02:00
..
syzygy 7-pieces Syzygy tablebase support 2018-07-31 11:24:28 +02:00
benchmark.cpp New Year 2018 2018-01-01 13:18:10 +01:00
bitbase.cpp Mark all compile-time constants as constexpr. 2018-03-18 23:48:16 +01:00
bitboard.cpp Minor code style tweaks 2018-07-18 08:26:33 +02:00
bitboard.h Remove make_bitboard() 2018-06-26 09:08:15 +02:00
endgame.cpp Slight tidy up in endgame machinery 2018-07-22 17:55:41 +02:00
endgame.h Slight tidy up in endgame machinery 2018-07-22 17:55:41 +02:00
evaluate.cpp First check threshold in space evaluation 2018-08-08 17:58:41 +02:00
evaluate.h Slight tidy up in endgame machinery 2018-07-22 17:55:41 +02:00
main.cpp Reallocate TT on threadpool resize. 2018-06-02 17:03:01 +02:00
Makefile Fix 'make strip' for mingw. 2018-04-29 06:53:51 +02:00
material.cpp Slight tidy up in endgame machinery 2018-07-22 17:55:41 +02:00
material.h Slight tidy up in endgame machinery 2018-07-22 17:55:41 +02:00
misc.cpp Code clean-up 2018-07-25 18:31:02 +02:00
misc.h Switch time management to 64 bits 2018-03-27 16:25:41 +02:00
movegen.cpp Fix a few minor code style inconsistencies 2018-03-21 01:35:05 +01:00
movegen.h New Year 2018 2018-01-01 13:18:10 +01:00
movepick.cpp Better check evasion move sorting 2018-07-19 18:27:20 +02:00
movepick.h Improve Stats definition 2018-08-01 12:40:12 +02:00
pawns.cpp simplified forward ranks. 2018-07-22 17:59:39 +02:00
pawns.h Simplify the ShelterStrength[] array 2018-04-23 09:49:05 +02:00
position.cpp Allow Position::init() to be called multiple times. 2018-07-18 08:14:57 +02:00
position.h Move PSQ score to Position 2018-06-27 11:42:25 +02:00
psqt.cpp King Psqt Tuning 2018-08-08 17:49:16 +02:00
search.cpp King Psqt Tuning 2018-08-08 17:49:16 +02:00
search.h Better check evasion move sorting 2018-07-19 18:27:20 +02:00
thread.cpp Improve Stats definition 2018-08-01 12:40:12 +02:00
thread.h Better check evasion move sorting 2018-07-19 18:27:20 +02:00
thread_win32.h New Year 2018 2018-01-01 13:18:10 +01:00
timeman.cpp Switch time management to 64 bits 2018-03-27 16:25:41 +02:00
timeman.h Document Elo impact of various parts of search 2018-04-01 03:21:45 +02:00
tt.cpp Simplify saving a TT entry. 2018-07-04 00:59:15 +02:00
tt.h Simplify saving a TT entry. 2018-07-04 00:59:15 +02:00
types.h Minor code style tweaks 2018-07-18 08:26:33 +02:00
uci.cpp Fix a few minor code style inconsistencies 2018-03-21 01:35:05 +01:00
uci.h Minor code style tweaks 2018-07-18 08:26:33 +02:00
ucioption.cpp 7-pieces Syzygy tablebase support 2018-07-31 11:24:28 +02:00