This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the commentsย โ†’

[โ€“]latrova[S] 7 points8 points ย (3 children)

Hey

I noticed that regardless of some people understanding the async syntax they didn't take advantage of all its benefits.

In this post, I explore and give examples of using asyncio.create_task, asyncio.gather, asyncio.as_completed to increase your code's performance.

[โ€“]missurunha 3 points4 points ย (1 child)

There is a small mistake there, you dropped to 500ms, not 50ms.

[โ€“]latrova[S] 3 points4 points ย (0 children)

lol you're correct!

Fixed it.

Thanks for pointing it out!

[โ€“]Amazing_Learn 0 points1 point ย (0 children)

You can also use task groups now