buffer_proto5: parallelize a bit more
This commit is contained in:
@@ -674,7 +674,7 @@ fn main() {
|
||||
variants.len() / post_times.len(),
|
||||
);
|
||||
|
||||
let mut geom_cache = SyncDiskCache::new_with_supplier(
|
||||
let geom_cache = SyncDiskCache::new_with_supplier(
|
||||
&format!("{}/.geom_cache", ensure_out_dir(i)),
|
||||
|geom: &GeomParams| derive_geometries(geom.clone())
|
||||
);
|
||||
@@ -745,7 +745,7 @@ fn main() {
|
||||
.0.wraps1;
|
||||
|
||||
let wraps2_choices: Vec<_> = (-120..120)
|
||||
.into_iter()
|
||||
.into_par_iter()
|
||||
.filter_map(|wraps2| {
|
||||
let params = GeomParams {
|
||||
wraps2: (wraps2 * 4) as f32,
|
||||
|
Reference in New Issue
Block a user