Gareth Lloyd (He/him)<p>I am playing with <a href="https://fosstodon.org/tags/libstdexec" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>libstdexec</span></a>, I used a static thread pool and bulk. The problem is that the workload is not uniform. For some inputs, there is next to no work to be done.<br>When this happens, the mechanism inside the scheduler is dominating my profiling.<br>What I really want is something like adaptive workload splitting.</p><p>Any ideas? <a href="https://fosstodon.org/tags/cpp" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cpp</span></a> <a href="https://fosstodon.org/tags/cplusplus" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>cplusplus</span></a> <a href="https://fosstodon.org/tags/programming" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>programming</span></a> <a href="https://fosstodon.org/tags/concurrency" class="mention hashtag" rel="nofollow noopener" target="_blank">#<span>concurrency</span></a></p>