Skip to content

LOAD_ATTR_WITH_HINT and STORE_ATTR_WITH_HINT have internal branching.  #122616

Closed
@markshannon

Description

@markshannon

https://github.com/python/cpython/blob/main/InternalDocs/adaptive.md describes how specialized instructions should be a series of guards followed by simple, linear code.
Both instructions have two different paths with guards on each path. We should eliminate one of the branches.
Since the instance dictionary is almost certain to have only str keys, we should choose that path.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions