diff options
author | Mark Shannon <mark@hotpy.org> | 2022-12-16 15:41:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-12-16 15:41:23 (GMT) |
commit | 289c1126dd59e5daae59a7ee8a0aca547c1e351e (patch) | |
tree | a2ffdceb124f4047fe5f1eb44db5f96cf4905ceb /Include/pystats.h | |
parent | 0415cf895f96ae3f896f1f25f0c030a820845e13 (diff) | |
download | cpython-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.h | 2 |
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 |