Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 4 additions & 6 deletions src/query/datalog/executor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1313,9 +1313,8 @@ pub(crate) fn apply_or_clauses(
for clause in clauses {
match clause {
WhereClause::Or(branches) => {
let mut seen: std::collections::BTreeSet<
Vec<(String, crate::graph::types::Value)>,
> = std::collections::BTreeSet::new();
let mut seen: std::collections::HashSet<Vec<(String, crate::graph::types::Value)>> =
std::collections::HashSet::new();
let mut result: Vec<Binding> = Vec::new();
for branch in branches {
let branch_result = evaluate_branch(
Expand Down Expand Up @@ -1346,9 +1345,8 @@ pub(crate) fn apply_or_clauses(
let outer_keys: std::collections::HashSet<String> =
bindings.iter().flat_map(|b| b.keys().cloned()).collect();

let mut seen: std::collections::BTreeSet<
Vec<(String, crate::graph::types::Value)>,
> = std::collections::BTreeSet::new();
let mut seen: std::collections::HashSet<Vec<(String, crate::graph::types::Value)>> =
std::collections::HashSet::new();
let mut result: Vec<Binding> = Vec::new();
for branch in branches {
let branch_result = evaluate_branch(
Expand Down
Loading