summaryrefslogtreecommitdiffstats
path: root/Python/specialize.c
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2021-07-01 12:13:05 (GMT)
committerGitHub <noreply@github.com>2021-07-01 12:13:05 (GMT)
commit3623aaa78cb9c50edb6da5ac37000446f138b91c (patch)
treef1345a9c6340b6af71e25d8c8bd1a9654f58c08e /Python/specialize.c
parentdd3adc013b21ec1338bb5fea2e2c04a4fc650306 (diff)
downloadcpython-3623aaa78cb9c50edb6da5ac37000446f138b91c.zip
cpython-3623aaa78cb9c50edb6da5ac37000446f138b91c.tar.gz
cpython-3623aaa78cb9c50edb6da5ac37000446f138b91c.tar.bz2
Add file describing how to add or modify specialized families of instructions. (GH-26954)
Diffstat (limited to 'Python/specialize.c')
-rw-r--r--Python/specialize.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/Python/specialize.c b/Python/specialize.c
index a8ae09f..3277c6b 100644
--- a/Python/specialize.c
+++ b/Python/specialize.c
@@ -7,6 +7,10 @@
#include "opcode.h"
#include "structmember.h" // struct PyMemberDef, T_OFFSET_EX
+/* For guidance on adding or extending families of instructions see
+ * ./adaptive.md
+ */
+
/* We layout the quickened data as a bi-directional array:
* Instructions upwards, cache entries downwards.