commit | a70232f28882d2fecb3ebe06643867701016070f | [log] [tgz] |
---|---|---|
author | Yury Selivanov <yury@magic.io> | Wed Dec 13 14:49:42 2017 -0500 |
committer | GitHub <noreply@github.com> | Wed Dec 13 14:49:42 2017 -0500 |
tree | e037779085e42db44777bc841648ea37391faeab | |
parent | d5dda98fa80405db82e2eb36ac48671b4c8c0983 [diff] |
bpo-32296: Implement asyncio.get_event_loop and _get_running_loop in C. (#4827) asyncio.get_event_loop(), and, subsequently asyncio._get_running_loop() are one of the most frequently executed functions in asyncio. They also can't be sped up by third-party event loops like uvloop. When implemented in C they become 4x faster.