Skip to content

Commit

Permalink
perf
Browse files Browse the repository at this point in the history
  • Loading branch information
sokra committed Jul 1, 2024
1 parent 6640307 commit 0520182
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions crates/turbo-tasks-memory/src/edges_set.rs
Original file line number Diff line number Diff line change
Expand Up @@ -455,9 +455,11 @@ impl TaskEdgesSet {
EdgesDataEntry::Complex(set) => {
if set.remove(&EdgeEntry::Child) {
children.push(task);
entry.simplify();
!matches!(entry, EdgesDataEntry::Empty)
} else {
true
}
entry.simplify();
!matches!(entry, EdgesDataEntry::Empty)
}
_ => true,
});
Expand Down

0 comments on commit 0520182

Please sign in to comment.