Skip to content

Commit

Permalink
comments around future par_iter
Browse files Browse the repository at this point in the history
  • Loading branch information
ctb committed Aug 24, 2024
1 parent 752d86f commit c760aa8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/multicollection.rs
Original file line number Diff line number Diff line change
Expand Up @@ -110,13 +110,15 @@ impl MultiCollection {

// select out only the (name, md5) pairs that were present
// in the manifest
// @CTB par_iter?
let picklist: HashSet<_> = manifest
.clone()
.iter()
.map(|r| (r.name().clone(), r.md5().clone()))
.collect();

// @CTB transfer into MultiCollection too?
// @CTB par_iter?
let colls = colls
.iter()
.map(|c| c.clone().select_picklist(&picklist))
Expand Down

0 comments on commit c760aa8

Please sign in to comment.