Skip to content
Snippets Groups Projects
Commit aa07546f authored by Дмитрий Кольцов's avatar Дмитрий Кольцов Committed by Dmitriy Koltsov
Browse files

perf(ast.to_ir): use ahash in new_columns to check if column name already exists

parent dd7364f2
No related branches found
No related tags found
1 merge request!102perf(ast.to_ir): use ahash in new_columns to check if column name already exists
Pipeline #8508 passed
......@@ -400,7 +400,8 @@ impl Plan {
));
};
let mut col_names_set: HashSet<&str> = HashSet::with_capacity(col_names.len());
let mut col_names_set: HashSet<&str, RandomState> =
HashSet::with_capacity_and_hasher(col_names.len(), RandomState::new());
for col_name in col_names {
col_names_set.insert(col_name);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment