Skip to content

Commit

Permalink
use only LP
Browse files Browse the repository at this point in the history
  • Loading branch information
kabra1110 committed Jul 31, 2023
1 parent 35d4afa commit 94aa2d0
Showing 1 changed file with 5 additions and 7 deletions.
12 changes: 5 additions & 7 deletions src/libasr/codegen/llvm_utils.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -876,13 +876,11 @@ namespace LCompilers {
}
}

void LLVMUtils::set_set_api(ASR::Set_t* set_type) {
if( ASR::is_a<ASR::Character_t>(*set_type->m_type) ) {
set_api = set_api_sc;
} else {
set_api = set_api_lp;
}
// set_api = set_api_lp;
void LLVMUtils::set_set_api(ASR::Set_t* /*set_type*/) {
// As per benchmarks, separate chaining
// does not provide significant gains over
// linear probing.
set_api = set_api_lp;
}

std::vector<llvm::Type*> LLVMUtils::convert_args(const ASR::Function_t& x, llvm::Module* module) {
Expand Down

0 comments on commit 94aa2d0

Please sign in to comment.