heh
Diffstat (limited to 'src/util.rs')
| -rw-r--r-- | src/util.rs | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/util.rs b/src/util.rs index dfad61f..6295132 100644 --- a/src/util.rs +++ b/src/util.rs @@ -419,9 +419,7 @@ pub fn countg<N: Debug + PartialEq + Hash + Eq + Clone, I: Iterator<Item = N>>( *sum += 1; } else { graph(start).for_each(|x| { - if has.insert(x.clone()) { - countg(x, graph, end, sum, has); - } + countg(x, graph, end, sum, has); }); } } @@ -637,9 +635,6 @@ pub fn bfs<N: Debug + Eq + Hash + Clone, I: Iterator<Item = N>>( // print!("{n:?} "); q.push_back(n); } - if s.len() % (1 << 20) == 0 { - dbg!(s.len()); - } } None } |