Skip to content

ZJIT: Optimize loads from frozen objects #895

@tekknolagi

Description

@tekknolagi

Two things:

  • We can de-duplicate ivar reads from frozen objects because their shapes won't change
  • We can, if we know the exact object and know it's frozen, execute LoadField at compile-time

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions