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

Optimisation: Implement NSDate and NSIndexPath small object classes #439

Open
hmelder opened this issue Aug 14, 2024 · 1 comment
Open

Comments

@hmelder
Copy link
Contributor

hmelder commented Aug 14, 2024

Both types fit into small object classes most of the time and are often used. Storing the data in the pointer and registering new small object classes will likely improve overall performance.

@hmelder
Copy link
Contributor Author

hmelder commented Aug 14, 2024

Apple implemented OBJC_TAG_NSIndexPath and OBJC_TAG_NSNumber using tagged pointers (which is the analog to small object classes on Darwin)

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

No branches or pull requests

1 participant