fix: filter on regular iter before par iter cc @kprotty
This commit is contained in:
parent
158b3dfe51
commit
6a95d23811
|
@ -703,12 +703,14 @@ where
|
|||
};
|
||||
|
||||
scripts
|
||||
.into_par_iter()
|
||||
.into_iter()
|
||||
.filter(|script| -> bool {
|
||||
let path = format!("{}{}", script.module, script.name);
|
||||
|
||||
!matches!(&match_name, Some(search_str) if !path.contains(search_str))
|
||||
})
|
||||
.collect::<Vec<Script>>()
|
||||
.into_par_iter()
|
||||
.map(|script| match script.program.eval(initial_budget) {
|
||||
(Ok(result), remaining_budget, logs) => EvalInfo {
|
||||
success: result != Term::Error
|
||||
|
|
Loading…
Reference in New Issue