Make it way faster by removing redundant checks
This commit is contained in:
parent
ea14bbbfa8
commit
fff15e983e
1 changed files with 1 additions and 1 deletions
|
@ -596,7 +596,7 @@ impl FuzzyBoundary {
|
|||
);
|
||||
let boundaries = forwards
|
||||
.interleave(backwards)
|
||||
.take(4)
|
||||
.take(2)
|
||||
.filter_map(|(identifier, reach_boundary)| reach_boundary(identifier, map))
|
||||
.filter(|boundary| match boundary.cmp(&from) {
|
||||
Ordering::Equal => true,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue