Staging
v0.5.1
https://github.com/python/cpython
Revision 91234a16367b56ca03ee289f7c03a34d4cfec4c8 authored by Inada Naoki on 03 June 2019, 12:30:58 UTC, committed by GitHub on 03 June 2019, 12:30:58 UTC
This patch implements per opcode cache mechanism, and use it in
only LOAD_GLOBAL opcode.

Based on Yury's opcache3.patch in bpo-26219.
1 parent 29ec422
Raw File
Tip revision: 91234a16367b56ca03ee289f7c03a34d4cfec4c8 authored by Inada Naoki on 03 June 2019, 12:30:58 UTC
bpo-26219: per opcode cache for LOAD_GLOBAL (GH-12884)
Tip revision: 91234a1
enumobject.h
#ifndef Py_ENUMOBJECT_H
#define Py_ENUMOBJECT_H

/* Enumerate Object */

#ifdef __cplusplus
extern "C" {
#endif

PyAPI_DATA(PyTypeObject) PyEnum_Type;
PyAPI_DATA(PyTypeObject) PyReversed_Type;

#ifdef __cplusplus
}
#endif

#endif /* !Py_ENUMOBJECT_H */
back to top