Skip to content

Grand Unified Python Object Layout #8

@encukou

Description

@encukou

See: faster-cpython/ideas#553

Mark's proposal has several advantages, like:

  • Supports multiple inheritance even if instances need C (“raw memory”) data storage
  • The VM can generate correct tp_traverse and tp_clear automatically
  • Core instance structs (PyObject, PyListObject, ...) no longer need to be exposed
  • Focus on performance, especially for core types

Metadata

Metadata

Assignees

No one assigned

    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