Speed up your Python code in just 5 lines of code using concurrent.futures

preview_player
Показать описание

We hit a 4x speed increase, but tuning its settings you might even gain more. Of course be mindful how you use this to not cause too many requests to a web server.

However, you can use it with any callable (function) and we've seen people making other people really happy by the performance boost it provided in just ~5 lines of code!

---
We appreciate any feedback 💡 - please use this form so we can always make our content better:
Рекомендации по теме
Комментарии
Автор

Loved the content! Can HasData integrate well with concurrent.futures for scraping?

kareemgates
Автор

How do you know which response corresponds to which request?

theprojectguy
welcome to shbcf.ru