diff options
author | Yury Selivanov <yury@magic.io> | 2016-12-14 00:03:51 (GMT) |
---|---|---|
committer | Yury Selivanov <yury@magic.io> | 2016-12-14 00:03:51 (GMT) |
commit | f2392133eba777f05947a8996c507690b95379c3 (patch) | |
tree | 3d3e352b04691dabeab1eb8502c2417d2af04826 /Doc | |
parent | e6bb53bf61ac24feca775bdaa651433b8466d2fa (diff) | |
download | cpython-f2392133eba777f05947a8996c507690b95379c3.zip cpython-f2392133eba777f05947a8996c507690b95379c3.tar.gz cpython-f2392133eba777f05947a8996c507690b95379c3.tar.bz2 |
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.rst | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst index 14285d9..90ef759 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 ======================= |