This commit is contained in:
Robin Dietzel 2023-11-07 12:16:08 +01:00
parent 825c90fdb4
commit ed193c4fad

View File

@ -65,7 +65,7 @@ auto main(int argc, char *argv[]) -> int {
const int threads = std::thread::hardware_concurrency(); const int threads = std::thread::hardware_concurrency();
const int max_depth = std::log(threads); const int max_depth = std::sqrt(threads);
t1 = std::chrono::high_resolution_clock::now(); t1 = std::chrono::high_resolution_clock::now();
MergeSorterMT<int32_t> msmt([](int32_t a, int32_t b) { MergeSorterMT<int32_t> msmt([](int32_t a, int32_t b) {