Comment by lelanthran
10 hours ago
> Your original reply assumed that it would use all cores, for example.
Sure. My original reply assumed that there wouldn't be an unnecessary `await` inserted inside a loop.
Unless I'm misunderstanding the code you posted, removing the `await` in the loop would use all cores.
No comments yet
Contribute on Hacker News ↗