This has been up for discussion before and refuted. Async is not about speed. It never has been. Async is for solving IO bound problems. It's about not waiting around for things like IO to finish.
Generally speaking making things "faster" is something you do in Python by dividing the work into multiple processes that then execute on (hopefully) multiple CPU cores or processors. This is for solving CPU bound problems.
14
u/AlexMTBDude Dec 01 '22
This has been up for discussion before and refuted. Async is not about speed. It never has been. Async is for solving IO bound problems. It's about not waiting around for things like IO to finish.
Generally speaking making things "faster" is something you do in Python by dividing the work into multiple processes that then execute on (hopefully) multiple CPU cores or processors. This is for solving CPU bound problems.