diff options
author | Yury Selivanov <yury@magic.io> | 2017-12-19 12:18:45 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-12-19 12:18:45 (GMT) |
commit | a9d7e552c72b6e9515e76a1dd4b247da86da23de (patch) | |
tree | e2f05acc41f3eb90bbd29377957867adff5f79c9 /Misc | |
parent | a7bd64c0c01379e9b82e86ad41a301329a0775d9 (diff) | |
download | cpython-a9d7e552c72b6e9515e76a1dd4b247da86da23de.zip cpython-a9d7e552c72b6e9515e76a1dd4b247da86da23de.tar.gz cpython-a9d7e552c72b6e9515e76a1dd4b247da86da23de.tar.bz2 |
bpo-32357: Optimize asyncio.iscoroutine() for non-native coroutines (#4915)
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-12-18-00-36-41.bpo-32357.t1F3sn.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-12-18-00-36-41.bpo-32357.t1F3sn.rst b/Misc/NEWS.d/next/Library/2017-12-18-00-36-41.bpo-32357.t1F3sn.rst new file mode 100644 index 0000000..f51eaf5 --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-12-18-00-36-41.bpo-32357.t1F3sn.rst @@ -0,0 +1,5 @@ +Optimize asyncio.iscoroutine() and loop.create_task() for non-native +coroutines (e.g. async/await compiled with Cython). + +'loop.create_task(python_coroutine)' used to be 20% faster than +'loop.create_task(cython_coroutine)'. Now, the latter is as fast. |