summaryrefslogtreecommitdiff
path: root/Doc
diff options
context:
space:
mode:
authorYury Selivanov <yury@magic.io>2016-12-13 19:03:51 -0500
committerYury Selivanov <yury@magic.io>2016-12-13 19:03:51 -0500
commit4f5d39b98cc760dcb7641bb71bdaeb2933b1ee40 (patch)
treeb8af21b0ed21d81918771d352ab1a915324d8f5a /Doc
parentb00a24500f1d41da79b033d3afedc29a3e006e53 (diff)
downloadcpython-4f5d39b98cc760dcb7641bb71bdaeb2933b1ee40.tar.gz
Issue #26110: Add LOAD_METHOD/CALL_METHOD opcodes.
Special thanks to INADA Naoki for pushing the patch through the last mile, Serhiy Storchaka for reviewing the code, and to Victor Stinner for suggesting the idea (originally implemented in the PyPy project).
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.7.rst5
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 14285d97a6..90ef759c4f 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -92,6 +92,11 @@ Improved Modules
Optimizations
=============
+* Added two new opcodes: ``LOAD_METHOD`` and ``CALL_METHOD`` to avoid
+ instantiation of bound method objects for method calls, which results
+ in method calls being faster up to 20%.
+ (Contributed by Yury Selivanov and INADA Naoki in :issue:`26110`.)
+
Build and C API Changes
=======================