summaryrefslogtreecommitdiffstats
path: root/Include/pystats.h
diff options
context:
space:
mode:
authorMark Shannon <mark@hotpy.org>2022-12-16 15:41:23 (GMT)
committerGitHub <noreply@github.com>2022-12-16 15:41:23 (GMT)
commit289c1126dd59e5daae59a7ee8a0aca547c1e351e (patch)
treea2ffdceb124f4047fe5f1eb44db5f96cf4905ceb /Include/pystats.h
parent0415cf895f96ae3f896f1f25f0c030a820845e13 (diff)
downloadcpython-289c1126dd59e5daae59a7ee8a0aca547c1e351e.zip
cpython-289c1126dd59e5daae59a7ee8a0aca547c1e351e.tar.gz
cpython-289c1126dd59e5daae59a7ee8a0aca547c1e351e.tar.bz2
Better stats for `LOAD_ATTR` and `STORE_ATTR` (GH-100295)
* Don't attempt to specialize for LOAD_ATTR on instance if class has attribute * Improvement to LOAD_ATTR and STORE_ATTR specialization stats.
Diffstat (limited to 'Include/pystats.h')
-rw-r--r--Include/pystats.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/pystats.h b/Include/pystats.h
index 04630c9..25ed4bd 100644
--- a/Include/pystats.h
+++ b/Include/pystats.h
@@ -8,7 +8,7 @@ extern "C" {
#ifdef Py_STATS
-#define SPECIALIZATION_FAILURE_KINDS 32
+#define SPECIALIZATION_FAILURE_KINDS 36
/* Stats for determining who is calling PyEval_EvalFrame */
#define EVAL_CALL_TOTAL 0