summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorInada Naoki <songofacandy@gmail.com>2019-06-03 12:30:58 (GMT)
committerGitHub <noreply@github.com>2019-06-03 12:30:58 (GMT)
commit91234a16367b56ca03ee289f7c03a34d4cfec4c8 (patch)
tree81d13661e09df4712009641eaba30e4599f1b776 /Doc
parent29ec4228106ed5f970d1c3666614f4a51bad192c (diff)
downloadcpython-91234a16367b56ca03ee289f7c03a34d4cfec4c8.zip
cpython-91234a16367b56ca03ee289f7c03a34d4cfec4c8.tar.gz
cpython-91234a16367b56ca03ee289f7c03a34d4cfec4c8.tar.bz2
bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)
This patch implements per opcode cache mechanism, and use it in only LOAD_GLOBAL opcode. Based on Yury's opcache3.patch in bpo-26219.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/whatsnew/3.8.rst4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst
index 9474a2f..da97a72 100644
--- a/Doc/whatsnew/3.8.rst
+++ b/Doc/whatsnew/3.8.rst
@@ -860,6 +860,10 @@ Optimizations
methods up to 20--50%. (Contributed by Serhiy Storchaka in :issue:`23867`,
:issue:`35582` and :issue:`36127`.)
+* ``LOAD_GLOBAL`` instruction now uses new "per opcode cache" mechanism.
+ It is about 40% faster now. (Contributed by Yury Selivanov and Inada Naoki in
+ :issue:`26219`.)
+
Build and C API Changes
=======================