Чем больше потоков я добавляю медленнее, что он работает. Набор, с которым я тестирую, имеет ~ 200 тыс. Полигонов.[code] // Bi-linear interpolation conversion of all polygons int cnt = allPolygons.count; #pragma omp parallel num_threads(2) // tried 1 - 8 -- the more threads the slower it runs { size_t cntTime = 0; int64_t totTime = 0; #pragma omp for schedule(static, 1000) //schedule(guided, 2000) // tried different schedules for(int ix = 0; ix < allPolygons.count; ix++) { int64_t start = Clock::now().time_since_epoch().count(); transformPolygonInPlace(det, curPos, allPolygons[ix]); // FP intensive function totTime += Clock::now().time_since_epoch().count() - start; cntTime++; if((ix % 1000) == 0) { #pragma omp critical { std::cout