mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-20 17:16:33 +08:00
Speed up kpk initialization
The trick is to classify more position at first cycle, so to reduce following work. Speed up is of about 50% ! Also some cleanup while there. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -39,7 +39,7 @@ using namespace std;
|
||||
|
||||
extern bool execute_uci_command(const string& cmd);
|
||||
extern void benchmark(int argc, char* argv[]);
|
||||
extern void init_kpk_bitbase();
|
||||
extern void kpk_bitbase_init();
|
||||
|
||||
int main(int argc, char* argv[]) {
|
||||
|
||||
@@ -52,7 +52,7 @@ int main(int argc, char* argv[]) {
|
||||
// Startup initializations
|
||||
init_bitboards();
|
||||
Position::init();
|
||||
init_kpk_bitbase();
|
||||
kpk_bitbase_init();
|
||||
init_search();
|
||||
Threads.init();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user