mirror of
https://github.com/python/cpython
synced 2026-09-29 10:35:30 +03:00
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.
This commit is contained in:
parent
0415cf895f
commit
289c1126dd
2 changed files with 36 additions and 13 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue