Skip to content

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

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

Fields

No fields configured for issues without a type.

Projects

Status
Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions