Skip to content

Commit

Permalink
Merge pull request lcompilers#2780 from advikkabra/rehash-set
Browse files Browse the repository at this point in the history
Add additional rehashing for small sets
  • Loading branch information
czgdp1807 authored Jul 19, 2024
2 parents 9e8da7d + 080777a commit e8d244e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/libasr/codegen/llvm_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6699,6 +6699,7 @@ namespace LCompilers {
llvm::Value* el_hash = get_el_hash(current_capacity, el, el_asr_type, *module);
this->resolve_collision_for_write(set, el_hash, el, module,
el_asr_type, name2memidx);
rehash_all_at_once_if_needed(set, module, el_asr_type, name2memidx);
}

llvm::Value* LLVMSetLinearProbing::resolve_collision_for_read_with_bound_check(
Expand Down

0 comments on commit e8d244e

Please sign in to comment.