summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorGiampaolo Rodola <g.rodola@gmail.com>2017-06-09 20:20:41 (GMT)
committerVictor Stinner <victor.stinner@gmail.com>2017-06-09 20:20:41 (GMT)
commitfbfaa6fd57f8dc8a3da808acb8422370fad2f27b (patch)
tree19698cdf7bc911be2a0332055abd6b6b5d5f629f /Doc
parent894a654a9caafb7a5bf63e1383a048041c05023b (diff)
downloadcpython-fbfaa6fd57f8dc8a3da808acb8422370fad2f27b.zip
cpython-fbfaa6fd57f8dc8a3da808acb8422370fad2f27b.tar.gz
cpython-fbfaa6fd57f8dc8a3da808acb8422370fad2f27b.tar.bz2
bpo-30014: make poll-like selector's modify() method faster (#1030)
* #30014: make selectors.DefaultSelector.modify() faster by relying on selector's modify() method instead of un/register()ing the fd * #30014: add unit test * speedup poll/epoll/devpoll modify() method by using internal modify() call * update doc * address PR comments * update NEWS entries * use != instead of 'is not'
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.7.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 602db8c..3df3093 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -234,6 +234,9 @@ Optimizations
expressions <re>`. Searching some patterns can now be up to 20 times faster.
(Contributed by Serhiy Storchaka in :issue:`30285`.)
+* :meth:`selectors.EpollSelector.modify`, :meth:`selectors.PollSelector.modify`
+ and :meth:`selectors.DevpollSelector.modify` may be around 10% faster under
+ heavy loads. (Contributed by Giampaolo Rodola' in :issue:`30014`)
Build and C API Changes
=======================