-
Notifications
You must be signed in to change notification settings - Fork 69
Zero-cost Ivar access #253
Copy link
Copy link
Closed
Labels
A-objc2Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` cratesAffects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` cratesenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Milestone
Metadata
Metadata
Assignees
Labels
A-objc2Affects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` cratesAffects the `objc2`, `objc2-exception-helper` and/or `objc2-encode` cratesenhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
When using
declare_class!it should be possible to create statics that are initialized with the correct offset afterClassType::classhas run; this would allow accessing instance variables with exactly the same performance characteristics as Objective-C!