Stockfish, silnik szachowy UCI
Lider listy rankingowej JCER = 3406
🔬 Autor: Joost VandeVondele
Correctly zero-initialize MainThread
It can be used uninitialized in time management.
Fixes all valgrind errors on './stockfish go wtime 8000 btime 8000 winc 500 binc 500'
This is one (of the many) quirks of C++. There is a subtle difference between:
The first statement calls the default constructor (that in case of a POD leaves data members uninitialized), the second one performs a value-initialization (that in case of POD is
equivalent to a zero-initialization)
No functional change.
⭐⭐⭐ Stockfish 17010710 - download