worker-dom icon indicating copy to clipboard operation
worker-dom copied to clipboard

Is there any chance to use thread pool?

Open Blame4 opened this issue 3 years ago • 1 comments

If we can only use one work-thread, async/await may not be so useful. Using one work-thread for each individual work root might be wasting.Using multiple threads is not an urgent though. WASM is an option.

Blame4 avatar Sep 27 '21 17:09 Blame4

If we can only use one work-thread, async/await may not be so useful.

Can you explain more here? I don't understand why a single work-thread changes the equation. Things like fetch still happen in parallel.

samouri avatar Sep 27 '21 18:09 samouri