From 8da6c9f7f0b4d6566e397b4f0183bccb99e0f6a2 Mon Sep 17 00:00:00 2001 From: dtenwolde Date: Tue, 7 Jan 2025 16:19:05 +0100 Subject: [PATCH] Check if this affected the performance --- src/core/operator/task/iterative_length_task.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/core/operator/task/iterative_length_task.cpp b/src/core/operator/task/iterative_length_task.cpp index 828d373..879e341 100644 --- a/src/core/operator/task/iterative_length_task.cpp +++ b/src/core/operator/task/iterative_length_task.cpp @@ -112,8 +112,7 @@ bool IterativeLengthTask::SetTaskRange() { if (next[i].any()) { next[i] &= ~seen[i]; seen[i] |= next[i]; - std::lock_guard lock(state->change_lock); - change = true; + change |= next[i].any(); } } has_tasks = SetTaskRange();