Function inanis::perft::fast::run

source ·
pub fn run(
    depth: i32,
    board: &mut Board,
    hashtable_size: usize,
    threads_count: usize
) -> (u64, f32)
Expand description

Entry point of the fixed-depth fast perft, which uses both hashtable (with size specified in hashtable_size) and multithreading (with threads_count threads). Returns calculated nodes count as the first value, and approximated hashtable usage as the second value.