Skip to content

Zero-cost Ivar access #253

@madsmtm

Description

@madsmtm

When using declare_class! it should be possible to create statics that are initialized with the correct offset after ClassType::class has run; this would allow accessing instance variables with exactly the same performance characteristics as Objective-C!

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-objc2Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` cratesenhancementNew feature or requesthelp wantedExtra attention is needed

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions