About objc_direct, a thread. I should have probably anticipated that people would raise eyebrows and spent more time explaining the point in the LLVM commit, so here it is...

1 min read Original article ↗

Post

Post

user avatar

About objc_direct, a thread. I should have probably anticipated that people would raise eyebrows and spent more time explaining the point in the LLVM commit, so here it is...

user avatar

“The ``objc_direct`` attribute can be used to mark an Objective-C method as being *direct*. A direct method is treated statically like an ordinary method, but dynamically it behaves more like a C function.” Interesting. Seems useful for some hot paths. github.com/llvm/llvm-proj…

Don't miss what's happening

People on X are the first to know.