feat: fast

This commit is contained in:
tqcq 2024-10-24 06:56:47 +00:00
parent 0a21209790
commit 772a571793

View File

@ -330,7 +330,7 @@ find_row_mask(std::vector<set_t> &sets,
if (thread_num > 2) { thread_num -= 2; } if (thread_num > 2) { thread_num -= 2; }
fprintf(stderr, "thread_num: %ld\n", thread_num); fprintf(stderr, "thread_num: %ld\n", thread_num);
uint64_t step = 1 << 20; uint64_t step = 100000000;
// for (uint64_t i = row_mask; i < last_mask; ++step) { i = next_bit_permutation(i); } // for (uint64_t i = row_mask; i < last_mask; ++step) { i = next_bit_permutation(i); }
// fprintf(stderr, "total_step: %ld\n", step); // fprintf(stderr, "total_step: %ld\n", step);
// step /= thread_num; // step /= thread_num;