Skip to content

Commit

Permalink
implement lazy SMP
Browse files Browse the repository at this point in the history
  • Loading branch information
brunocodutra committed Jan 25, 2025
1 parent 23ea1cf commit 06d95b6
Show file tree
Hide file tree
Showing 7 changed files with 69 additions and 194 deletions.
47 changes: 0 additions & 47 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,10 @@ futures = { version = "0.3.31", default-features = false, features = [
] }
rand = { version = "0.8.5", default-features = false, features = ["std", "min_const_gen"] }
rand_pcg = { version = "0.3.1", default-features = false }
rayon = { version = "1.10.0", default-features = false }
ruzstd = { version = "0.8.0", default-features = false, features = ["std"] }

[dev-dependencies]
criterion = { version = "0.5.1", default-features = false, features = ["rayon"] }
criterion = { version = "0.5.1", default-features = false }
criterion-macro = { version = "0.4.0", default-features = false }
proptest = { version = "1.6.0", default-features = false, features = ["std"] }
test-strategy = { version = "0.4.0", default-features = false }
Expand Down
2 changes: 0 additions & 2 deletions lib/search.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
mod control;
mod depth;
mod driver;
mod engine;
mod history;
mod killers;
Expand All @@ -13,7 +12,6 @@ mod transposition;

pub use control::*;
pub use depth::*;
pub use driver::*;
pub use engine::*;
pub use history::*;
pub use killers::*;
Expand Down
2 changes: 1 addition & 1 deletion lib/search/control.rs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ pub struct Interrupted;
pub enum Control<'a> {
#[default]
Unlimited,
Limited(Counter, Timer, &'a Trigger),
Limited(&'a Counter, &'a Timer, &'a Trigger),
}

impl Control<'_> {
Expand Down
109 changes: 0 additions & 109 deletions lib/search/driver.rs

This file was deleted.

Loading

0 comments on commit 06d95b6

Please sign in to comment.