Move to avoid allocation
This commit is contained in:
parent
6ec723ea69
commit
cb7b821434
@ -77,8 +77,7 @@ pub const PUZZLE: Puzzle<(usize, Vec<HashSet<usize>>), 2> = Puzzle {
|
||||
vec![x]
|
||||
}
|
||||
.into_iter()
|
||||
.map(|x1| (x1, n))
|
||||
.collect_vec()
|
||||
.map(move |x1| (x1, n))
|
||||
})
|
||||
.into_group_map()
|
||||
.into_iter()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user