Closed
Description
Currently gfx spends a significant amount of time calling Class::get
.
Similarly to #64, would it be possible to cache these calls somehow? Perhaps there could be a macro that provides this, like class!("NSObject")
.
We could try to add this to metal-rs directly for the places we need it (example), but we also need this change in other crates (for example, we frequently create NSAutoreleasePool
), so it would be great if we could find a way to add this into objc.
Metadata
Metadata
Assignees
Labels
No labels