Issue 44889: Specialize LOAD_METHOD with PEP 659 adaptive interpreter
Created on 2021-08-11 12:43 by kj, last changed 2022-04-11 14:59 by admin. This issue is now closed.
| Pull Requests | |||
|---|---|---|---|
| URL | Status | Linked | Edit |
| PR 27722 | merged | kj, 2021-08-11 12:48 | |
| Messages (3) | |||
|---|---|---|---|
| msg399388 - (view) | Author: Ken Jin (kj) * ![]() |
Date: 2021-08-11 12:43 | |
Possible specializations: - LOAD_METHOD_CACHED Cache the method. We only need to check that type(o) and o.__dict__ was not modified. - LOAD_METHOD_CLASS For classmethods. Less speedup expected. - LOAD_METHOD_MODULE For module methods. Uncommon (<10%). Please see https://github.com/faster-cpython/ideas/issues/81 for more details. |
|||
| msg399758 - (view) | Author: Mark Shannon (Mark.Shannon) * ![]() |
Date: 2021-08-17 14:56 | |
New changeset 96346cb6d0593ef9ec122614347ccb053cd63433 by Ken Jin in branch 'main': bpo-44889: Specialize LOAD_METHOD with PEP 659 adaptive interpreter (GH-27722) https://github.com/python/cpython/commit/96346cb6d0593ef9ec122614347ccb053cd63433 |
|||
| msg399761 - (view) | Author: Ken Jin (kj) * ![]() |
Date: 2021-08-17 15:26 | |
Some improvements can be made (see https://github.com/python/cpython/pull/27722#issuecomment-900369714), but for the most part we're done. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022-04-11 14:59:48 | admin | set | github: 89052 |
| 2021-08-17 15:26:06 | kj | set | status: open -> closed resolution: fixed messages: + msg399761 stage: patch review -> resolved |
| 2021-08-17 14:56:03 | Mark.Shannon | set | nosy:
+ Mark.Shannon messages: + msg399758 |
| 2021-08-11 12:48:50 | kj | set | keywords:
+ patch stage: patch review pull_requests: + pull_request26207 |
| 2021-08-11 12:43:20 | kj | create | |
