3 ms·
> Is threading potentially better for IO bound tasks than async? Its a pick your poison type of deal. I _personally_ hate async. Its a suprise goto, which I d
by KaiserPro 2y ago
> Is threading potentially better for IO bound tasks than async?
Its a pick your poison type of deal.
I _personally_ hate async. Its a suprise goto, which I don't like. However in my testing asyncio performs the same as threading. (this was with socket based IO)
If you loose the GIL, then threading _should_ be much faster, as it should scale to how many cores you have. But thats only if you have enough IO to saturate a core.