mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-21 01:27:16 +08:00
Convert init of eval to async option
So to be done only once at startup and in the (unlikely) cases that a relevant UCI parameter is changed, instead of doing it at the beginning of each search. No functional change. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -26,6 +26,8 @@ class Position;
|
||||
|
||||
extern Value evaluate(const Position& pos, Value& margin);
|
||||
extern std::string trace_evaluate(const Position& pos);
|
||||
extern void read_evaluation_uci_options(Color sideToMove);
|
||||
extern void eval_init();
|
||||
|
||||
extern Color EvalRootColor;
|
||||
|
||||
#endif // !defined(EVALUATE_H_INCLUDED)
|
||||
|
||||
Reference in New Issue
Block a user