I'm coming from Node.js where libraries such as https://github.com/caolan/async allow to iterate asynchronously through arrays without blocking the event loop.
am I correct that achieving the same with Gevent can be done by calling sleep(0)
on each loop iteration ?
is this actually necessary for a web server while parsing db queries or the blocking time of Python code (not IO operations) is negligible ?