4 ms·
Asyncio being able to use thread pools would reduce memory usage at the very least.
by dontlaugh 1y ago
Asyncio being able to use thread pools would reduce memory usage at the very least.
- seabrookmx 1y agoHow so? As opposed to running multiple processes you mean?
- dontlaugh 1y agoExactly, you could do like other runtimes and run a single process that can saturate all cores. You wouldn’t be duplicating the interpreter, your code, config, etc.