From 932a3f92b0d23d0dde58511188ac5ac8b84604ee Mon Sep 17 00:00:00 2001 From: PlexSheep Date: Fri, 12 Apr 2024 10:35:19 +0200 Subject: [PATCH] remove wlist from builtinbench --- src/bench/builtin.rs | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/bench/builtin.rs b/src/bench/builtin.rs index ec88527..bbe6716 100644 --- a/src/bench/builtin.rs +++ b/src/bench/builtin.rs @@ -11,7 +11,6 @@ use super::{Benchmark, Report}; #[derive(Debug, Clone)] pub struct BuiltinBenchmark<'wl, WL: WordList, SL: Solver<'wl, WL>> { - wordlist: &'wl WL, solver: SL, builder: GameBuilder<'wl, WL>, report: Arc>, @@ -33,7 +32,6 @@ where info!("using {threads} threads for benchmarking"); rayon::ThreadPoolBuilder::new().num_threads(threads).build_global().unwrap(); Ok(Self { - wordlist, solver, report: Arc::new(Mutex::new(Report::new(builder.build()?))), builder,