[−][src]Function chess_move_gen::perft
pub fn perft(
position: &mut Position,
depth: usize,
multi_threading_enabled: bool,
cache_bytes_per_thread: usize
) -> u64
Returns the number of nodes at the provided depth cache_bytes_per_thread must be of form 2^N bytes if multi_threading_enabled is set to true search will run concurrently accross threads equal to your CPU count