News for hackers. Stuff that matters.
Re:Show HN: Bringing multithreading to Python's async event ... by nbsande on Friday October 04, 2024 @12:02AM (#41737700)
The idea is to map N tasks to M threads. This is useful more than just when you needd more threads than the OS can spin up. As you scale up the number of threads you increase context switching and cpu scheduling overhead. Being able to schedule A large number of tasks with a small number of threads could reduce this overhead.

There are no comments on this comment yet.