On Nov 17, 2021, at 11:14 AM, Paul Sandoz 
<psan...@openjdk.java.net<mailto:psan...@openjdk.java.net>> wrote:

Would adding a parameter in the nature of `maxProcessors` make any sense?

Kind of but i would recommend not doing it. That's hard to express in a manner 
that developers will choose appropriate values across all deployments. This is 
why you don't see such configuration for parallel streams or the parallel array 
operations.[…]

Thanks for the background.

—
[…] I think it would be useful to get a sense of whether the recursion goes 
beyond some proportion of # runtime processors after which there is likely no 
point in creating more recursive tasks e.g. from the size in bits of the inputs 
can we determine a useful approximate threshold?

That sounds like a good idea.

Reply via email to