Skip to content

Port LOAD_ATTR from old opcache to PEP 659 adaptive interpreter #52

Closed
@markshannon

Description

@markshannon

There are many specializations for LOAD_ATTR that make sense. LOAD_ATTR in 3.10 only handles two, so we should have an easy win here.

Possible specializations are:

  • Attribute is in instance dictionary
  • Attribute is in a slot
  • Attribute is a non-descriptor attribute of the class
  • Attribute is a property
  • Attribute is method
  • The owner is a module

We will want dictionary keys versioning for several of the above.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions