diff --git a/src/cpp/utils.cpp b/src/cpp/utils.cpp index 33f17af..199fa33 100644 --- a/src/cpp/utils.cpp +++ b/src/cpp/utils.cpp @@ -65,7 +65,7 @@ void compute_index_from_sketches_one_chunk( int sketch_index_start, int sketch_i void compute_index_from_sketches(std::vector>& sketches, std::unordered_map>& hash_index, const int num_threads) { // create mutexes - int num_unordered_maps = 1024; + int num_unordered_maps = 100000; std::mutex * mutex_list = new std::mutex[num_unordered_maps]; std::vector>> hash_index_chunks(num_unordered_maps);