GIScience / ohsome-py

Python bindings for the ohsome API
GNU General Public License v3.0
18 stars 4 forks source link

Parallelise calls where possible #135

Open SlowMo24 opened 11 months ago

SlowMo24 commented 11 months ago

In general one big call is preferred to multiple sequential small calls due to the large overhead coming with an ohsome-API call.

Yet, it should be tested if one big call outperforms multiple parallel small calls, especially when getting close to a timeout.

This could be achieved by a ThredPool

Related: #106 #37