diff options
author | jimmylai <albert_chs@yahoo.com.tw> | 2017-09-06 00:36:59 (GMT) |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2017-09-06 00:36:59 (GMT) |
commit | 80bbe6a7b67f33d0d0976bb8e3e5ba26b6b0e626 (patch) | |
tree | 5cc98acac9962d968e78e0a573b14ff61e09e481 /Misc/NEWS.d/next/Library | |
parent | 305e56c27afce605e5d2f71903a966cf0bb95038 (diff) | |
download | cpython-80bbe6a7b67f33d0d0976bb8e3e5ba26b6b0e626.zip cpython-80bbe6a7b67f33d0d0976bb8e3e5ba26b6b0e626.tar.gz cpython-80bbe6a7b67f33d0d0976bb8e3e5ba26b6b0e626.tar.bz2 |
bpo-31350: Optimize get_event_loop and _get_running_loop (#3347)
* call remove_done_callback in finally section
* Optimize get_event_loop and _get_running_loop
* rename _loop_pid as loop_pid and add blurb news
* rename _loop_pid as loop_pid and add blurb news
* add back _RunningLoop
* Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst
* Update 2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst
Diffstat (limited to 'Misc/NEWS.d/next/Library')
-rw-r--r-- | Misc/NEWS.d/next/Library/2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst b/Misc/NEWS.d/next/Library/2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst new file mode 100644 index 0000000..299cf3c --- /dev/null +++ b/Misc/NEWS.d/next/Library/2017-09-05-10-30-48.bpo-31350.dXJ-7N.rst @@ -0,0 +1 @@ +Micro-optimize :func:`asyncio._get_running_loop` to become up to 10% faster. |