]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Better stats for `LOAD_ATTR` and `STORE_ATTR` (GH-100295)
authorMark Shannon <mark@hotpy.org>
Fri, 16 Dec 2022 15:41:23 +0000 (15:41 +0000)
committerGitHub <noreply@github.com>
Fri, 16 Dec 2022 15:41:23 +0000 (15:41 +0000)
commit289c1126dd59e5daae59a7ee8a0aca547c1e351e
treea2ffdceb124f4047fe5f1eb44db5f96cf4905ceb
parent0415cf895f96ae3f896f1f25f0c030a820845e13
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.
Include/pystats.h
Python/specialize.c