summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2017-12-19 12:18:45 (GMT)
committerGitHub <noreply@github.com>2017-12-19 12:18:45 (GMT)
commita9d7e552c72b6e9515e76a1dd4b247da86da23de (patch)
treee2f05acc41f3eb90bbd29377957867adff5f79c9 /Misc
parenta7bd64c0c01379e9b82e86ad41a301329a0775d9 (diff)
downloadcpython-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.rst5
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.