]> granicus.if.org Git - python/commit
bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)
authorInada Naoki <songofacandy@gmail.com>
Mon, 3 Jun 2019 12:30:58 +0000 (21:30 +0900)
committerGitHub <noreply@github.com>
Mon, 3 Jun 2019 12:30:58 +0000 (21:30 +0900)
commit91234a16367b56ca03ee289f7c03a34d4cfec4c8
tree81d13661e09df4712009641eaba30e4599f1b776
parent29ec4228106ed5f970d1c3666614f4a51bad192c
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.
13 files changed:
Doc/whatsnew/3.8.rst
Include/code.h
Include/internal/pycore_ceval.h
Include/internal/pycore_code.h [new file with mode: 0644]
Lib/test/test_dict_version.py
Makefile.pre.in
Misc/NEWS.d/next/Core and Builtins/2019-05-29-22-03-09.bpo-26219.Ovf1Qs.rst [new file with mode: 0644]
Objects/codeobject.c
Objects/dictobject.c
PCbuild/pythoncore.vcxproj
PCbuild/pythoncore.vcxproj.filters
Python/ceval.c
Python/pylifecycle.c