Victor, you benchmark example doesn't use *yield from* statement.
As Guido measured two years ago the software stack (built on top of
*yield* statements) is 20x times slower than *yield from* for
recursive level of 5 or something like that.

On Wed, Feb 11, 2015 at 3:16 PM, Victor Stinner
<[email protected]> wrote:
> 2015-02-11 12:52 GMT+01:00 Antoine Pitrou <[email protected]>:
>> Does the OpenStack project suffer from personality issues? :-)
>> Switching from Tornado to Twisted to eventlet to asyncio seems a bit
>> counter-productive, to say the least...
>
> I agree that it sounds strange to switch from explicit asyncio to
> implicit and then back to explicit. But I wasn't contributing to
> OpenStack when the switch from Twisted to eventlet was decided. The
> rationale is incomplete. I guess that monkey-patching to make
> "automatically" blocking code asynchronous seduced many developers. I
> would help to know better all reasons why Twisted was replaced.
>
> Victor



-- 
Thanks,
Andrew Svetlov

Reply via email to