mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-22 10:06:26 +08:00
Do not pass threadID as argument of search() and evaluate()
Get it from the position instead. A good semplification of function calling and a speedup too. No functional change also with faked split. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -101,7 +101,7 @@ struct EvalInfo {
|
||||
//// Prototypes
|
||||
////
|
||||
|
||||
extern Value evaluate(const Position& pos, EvalInfo& ei, int threadID);
|
||||
extern Value evaluate(const Position& pos, EvalInfo& ei);
|
||||
extern void init_eval(int threads);
|
||||
extern void quit_eval();
|
||||
extern void read_weights(Color sideToMove);
|
||||
|
||||
Reference in New Issue
Block a user