1
0
Fork 0
mirror of https://github.com/sockspls/badfish synced 2025-04-30 00:33:09 +00:00
BadFish/src
Stefano Cardanobile 4c95edddbf Reorder evaluation start
In evaluate, we start by initializing the pos.psq_score
and adding the material imbalance. After that, we check
whether a specialized eval exists and if yes we return
that value and discard whatever we have computed until now.

It sounds more logical to first probe material entry and
return if we have a specialized eval, and only if it is
not the case initialize eval with some values. There is
no measurable speed-difference on my computer.

Non functional change.
2016-09-11 07:42:12 +02:00
..
syzygy Change from [Color][PieceType] to [Piece] 2016-09-04 09:22:09 +02:00
benchmark.cpp Fix incorrect draw detection 2016-04-18 00:13:16 +02:00
bitbase.cpp Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
bitboard.cpp Hide global visibility when not needed 2016-04-09 10:42:04 +02:00
bitboard.h Retire __popcnt64 intrinsic 2016-05-05 09:09:07 +02:00
endgame.cpp StateInfo is usually allocated on the stack by search() 2016-04-17 08:29:33 +02:00
endgame.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
evaluate.cpp Reorder evaluation start 2016-09-11 07:42:12 +02:00
evaluate.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
main.cpp Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
Makefile Remove useless -mbmi flag in Makefile 2016-05-01 14:11:28 +02:00
material.cpp Retire linear imbalance 2016-09-02 08:25:17 +02:00
material.h Avoid some redundant scaling function calls 2016-06-10 06:43:37 +02:00
misc.cpp Do not hardcode Debug Log File 2016-06-15 08:47:08 +02:00
misc.h Do not hardcode Debug Log File 2016-06-15 08:47:08 +02:00
movegen.cpp Retire CheckInfo 2016-08-28 08:08:13 +02:00
movegen.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
movepick.cpp Use Movepick SEE value in search 2016-09-09 17:11:54 +02:00
movepick.h Use Movepick SEE value in search 2016-09-09 17:11:54 +02:00
pawns.cpp Space bonus in presence of open files 2016-09-03 00:04:20 +02:00
pawns.h Space bonus in presence of open files 2016-09-03 00:04:20 +02:00
position.cpp Syntactic sugar to loop across pieces 2016-09-04 15:33:17 +02:00
position.h Change from [Color][PieceType] to [Piece] 2016-09-04 09:22:09 +02:00
psqt.cpp Change from [Color][PieceType] to [Piece] 2016-09-04 09:22:09 +02:00
search.cpp Use Movepick SEE value in search 2016-09-09 17:11:54 +02:00
search.h Don't insert pv back into tt 2016-06-15 08:55:40 +02:00
thread.cpp Filter root moves filter before copy to threads 2016-06-11 09:24:40 +02:00
thread.h Use Color-From-To history stats to help sort moves 2016-08-02 09:17:14 +02:00
thread_win32.h Assorted English grammar changes 2016-01-16 21:34:29 +00:00
timeman.cpp StateInfo is usually allocated on the stack by search() 2016-04-17 08:29:33 +02:00
timeman.h Time management simplification 2016-01-29 00:47:07 +00:00
tt.cpp Make engine ONE_PLY value independent 2016-08-27 09:12:25 +02:00
tt.h Silence some warnings with MSVC 2013 2016-08-27 12:16:13 +02:00
types.h Syntactic sugar to loop across pieces 2016-09-04 15:33:17 +02:00
uci.cpp Move CheckInfo under StateInfo 2016-08-27 09:53:26 +02:00
uci.h Update AUTHORS and copyright notice 2016-01-02 09:43:51 +00:00
ucioption.cpp Do not hardcode Debug Log File 2016-06-15 08:47:08 +02:00