Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Consider using objc_retain and objc_release instead of sending -retain and -release message #58

Open
jrmuizel opened this issue Jun 24, 2018 · 1 comment

Comments

@jrmuizel
Copy link
Contributor

ARC uses these functions to avoid some of the objc_msgSend overhead. It seams reasonable to use them in obj_clone and obj_drop.
@grovesNL

@SSheldon
Copy link
Contributor

SSheldon commented Jul 9, 2018

objc_id uses these functions directly and that has seemed to work fine (although the crate isn't used very widely).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants