Thanks for the mod! FYI: you can easily multithread such for loops with OpenMP: (also need to enable /fopenmp in visual studio)   @@ -320,7 +320,9 @@ directory = entry.path().string(); } - for (const auto& elem : json_obj) { + #pragma omp parallel for + for(int i = 0; i < json_obj.size(); i++){ + const auto elem = json_obj[i];
  • 2

    Reputation Points