Skip to content

Commit

Permalink
keep killers local to each thread
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocodutra committed Jan 26, 2025
1 parent 88d19a5 commit d620008
Show file tree
Hide file tree
Showing 4 changed files with 146 additions and 181 deletions.
2 changes: 1 addition & 1 deletion benches/search.rs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ fn bench(reps: u64, options: &Options, limits: &Limits) -> Duration {
let mut time = Duration::ZERO;

for _ in 0..reps {
let mut e = Engine::with_options(options);
let e = Engine::with_options(options);
let stopper = Trigger::armed();
let pos = Evaluator::default();
let timer = Instant::now();
Expand Down
2 changes: 1 addition & 1 deletion lib/search/control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ use derive_more::{Display, Error};
pub struct Interrupted;

/// The search control.
#[derive(Debug, Default)]
#[derive(Debug, Default, Copy, Clone)]
pub enum Control<'a> {
#[default]
Unlimited,
Expand Down
Loading

0 comments on commit d620008

Please sign in to comment.