115:// --- Deferred S2 work items (computed in parallel after PBF read) ---


Edit

// --- Deferred S2 work items (computed in parallel after PBF read) ---

// --- Phase timer ---
static void log_phase(const char* name, std::chrono::steady_clock::time_point& t) {
    auto ms = std::chrono::duration_cast<std::chrono::milliseconds>(
        std::chrono::steady_clock::now() - t).count();
    std::cerr << "  [" << ms/1000 << "." << (ms%1000)/100 << "s] " << name << std::endl;
    t = std::chrono::steady_clock::now();
}

// --- Deferred S2 work items (computed in parallel after PBF read) ---