Replace all assert! with debug_assert!
This results in a ~6% reduction in instruction count.
This commit is contained in:
@@ -33,7 +33,7 @@ fn merge_sets(
|
||||
node2 = idom[node2.index()];
|
||||
}
|
||||
}
|
||||
assert!(node1 == node2);
|
||||
debug_assert!(node1 == node2);
|
||||
node1
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user