Skip to content

Conversation

@mdcoury
Copy link
Owner

@mdcoury mdcoury commented Dec 19, 2022

No description provided.

@mdcoury mdcoury self-assigned this Dec 19, 2022
ret |= remove_zero_biases(model_.constraint_ref(c));
}
auto constraints = model_.constraints;
std::for_each(std::execution::par_unseq, constraints.begin(), constraints.end(),
Copy link

@arcondello arcondello Dec 19, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think, theoretically, using taskflow.for_each should give better performance due to better task stealing, at least in a complex graph.

I find myself wondering if each technique_ should return a Task instead, or maybe we should have a task_ set of methods as well, each returning a Task.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants