Geometry Nodes: improve evaluator with lazy threading
In large node setup the threading overhead was sometimes very significant. That's especially true when most nodes do very little work. This commit improves the scheduling by not using multi-threading in many cases unless it's likely that it will be worth it. For more details see the comments in `BLI_lazy_threading.hh`. Differential Revision: https://developer.blender.org/D15976
This commit is contained in:
@@ -63,4 +63,9 @@ void Params::set_default_remaining_outputs()
|
||||
}
|
||||
}
|
||||
|
||||
bool Params::try_enable_multi_threading_impl()
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
||||
} // namespace blender::fn::lazy_function
|
||||
|
||||
Reference in New Issue
Block a user